fix: remove debugprints

This commit is contained in:
mike doornenbal 2024-07-29 15:00:43 +02:00
parent 0b14e46833
commit dbf83cc8d6
2 changed files with 6 additions and 4 deletions

View file

@ -134,7 +134,9 @@ class NotificationCenterState extends State<NotificationCenter> {
child: SvgPicture.asset( child: SvgPicture.asset(
"assets/unpin_icon.svg", "assets/unpin_icon.svg",
package: "flutter_notification_center", package: "flutter_notification_center",
color: Colors.white, theme: const SvgTheme(
currentColor: Colors.white,
),
height: 24, height: 24,
), ),
), ),
@ -153,7 +155,9 @@ class NotificationCenterState extends State<NotificationCenter> {
child: SvgPicture.asset( child: SvgPicture.asset(
"assets/unpin_icon.svg", "assets/unpin_icon.svg",
package: "flutter_notification_center", package: "flutter_notification_center",
color: Colors.white, theme: const SvgTheme(
currentColor: Colors.white,
),
height: 24, height: 24,
), ),
), ),

View file

@ -36,7 +36,6 @@ class FirebaseNotificationService
Future<void> _startTimer() async { Future<void> _startTimer() async {
_timer = Timer.periodic(const Duration(seconds: 15), (timer) async { _timer = Timer.periodic(const Duration(seconds: 15), (timer) async {
debugPrint("Checking for scheduled notifications");
await checkForScheduledNotifications(); await checkForScheduledNotifications();
}); });
} }
@ -354,7 +353,6 @@ class FirebaseNotificationService
var querySnapshot = await plannedNotificationsResult.get(); var querySnapshot = await plannedNotificationsResult.get();
if (querySnapshot.docs.isEmpty) { if (querySnapshot.docs.isEmpty) {
debugPrint("No scheduled notifications to be pushed");
return; return;
} }