mirror of
https://github.com/Iconica-Development/flutter_notification_center.git
synced 2025-05-19 09:03:45 +02:00
fix: remove debugprints
This commit is contained in:
parent
0b14e46833
commit
dbf83cc8d6
2 changed files with 6 additions and 4 deletions
|
@ -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,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue