Skip to content

Commit 3050749

Browse files
committed
fix(android): use original icon for Android notification
* Back to v1.10.0 tag.
1 parent 5791434 commit 3050749

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ Future<void> _boot(List<String> args) async {
7474
flnp = FlutterLocalNotificationsPlugin();
7575
if (isAndroid) {
7676
await flnp.initialize(
77-
const InitializationSettings(
78-
android: AndroidInitializationSettings('@drawable/ic_launcher_foreground_no_transform'),
79-
),
77+
// Drawable ic_launcher_foreground_no_transform is shrunk when building in CI.
78+
// The default one is compat but ok.
79+
const InitializationSettings(android: AndroidInitializationSettings('@drawable/ic_launcher_foreground')),
8080
onDidReceiveNotificationResponse: onLocalNotificationOpened,
8181
);
8282
if (autoSyncNoticeSeconds > 0) {

0 commit comments

Comments
 (0)