diff --git a/packages/flutter_notification_center/lib/src/notification_center.dart b/packages/flutter_notification_center/lib/src/notification_center.dart index fc8bbf7..60ab2a6 100644 --- a/packages/flutter_notification_center/lib/src/notification_center.dart +++ b/packages/flutter_notification_center/lib/src/notification_center.dart @@ -134,7 +134,9 @@ class NotificationCenterState extends State { child: SvgPicture.asset( "assets/unpin_icon.svg", package: "flutter_notification_center", - color: Colors.white, + theme: const SvgTheme( + currentColor: Colors.white, + ), height: 24, ), ), @@ -153,7 +155,9 @@ class NotificationCenterState extends State { child: SvgPicture.asset( "assets/unpin_icon.svg", package: "flutter_notification_center", - color: Colors.white, + theme: const SvgTheme( + currentColor: Colors.white, + ), height: 24, ), ), diff --git a/packages/flutter_notification_center_firebase/lib/src/services/firebase_notification_service.dart b/packages/flutter_notification_center_firebase/lib/src/services/firebase_notification_service.dart index c3494da..45763fc 100644 --- a/packages/flutter_notification_center_firebase/lib/src/services/firebase_notification_service.dart +++ b/packages/flutter_notification_center_firebase/lib/src/services/firebase_notification_service.dart @@ -36,7 +36,6 @@ class FirebaseNotificationService Future _startTimer() async { _timer = Timer.periodic(const Duration(seconds: 15), (timer) async { - debugPrint("Checking for scheduled notifications"); await checkForScheduledNotifications(); }); } @@ -354,7 +353,6 @@ class FirebaseNotificationService var querySnapshot = await plannedNotificationsResult.get(); if (querySnapshot.docs.isEmpty) { - debugPrint("No scheduled notifications to be pushed"); return; }