Update AndroidManifest, notification icons, and main.dart
|
|
@ -6,7 +6,7 @@
|
||||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:label="nomadcode"
|
android:label="NomadCode"
|
||||||
android:name=".MainApplication"
|
android:name=".MainApplication"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round">
|
android:roundIcon="@mipmap/ic_launcher_round">
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 958 B |
|
Before Width: | Height: | Size: 847 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.1 KiB |
|
|
@ -35,12 +35,12 @@ class MyApp extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'Mattermost',
|
title: 'NomadCode',
|
||||||
navigatorKey: _navigatorKey,
|
navigatorKey: _navigatorKey,
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
||||||
),
|
),
|
||||||
home: const MyHomePage(title: 'Mattermost'),
|
home: const MyHomePage(title: 'NomadCode'),
|
||||||
builder: (context, child) {
|
builder: (context, child) {
|
||||||
_pushService.onNavigateToChannel = (serverUrl, channelId) {
|
_pushService.onNavigateToChannel = (serverUrl, channelId) {
|
||||||
print('[Nav] Navigate to channel: $channelId on $serverUrl');
|
print('[Nav] Navigate to channel: $channelId on $serverUrl');
|
||||||
|
|
@ -102,7 +102,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
title: Text(widget.title),
|
title: Text(widget.title),
|
||||||
),
|
),
|
||||||
body: const Center(
|
body: const Center(
|
||||||
child: Text('Mattermost Flutter'),
|
child: Text('NomadCode'),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||