Hourglass
This commit is contained in:
@@ -41,6 +41,8 @@ class NotificationManager{
|
||||
if (ongoingActData != null) {
|
||||
List<String> data = ongoingActData.split("<td>");
|
||||
const AndroidNotificationDetails androidNotificationDetails = AndroidNotificationDetails('0', 'Ongoing',
|
||||
enableVibration: false,
|
||||
playSound: false,
|
||||
ongoing: true,
|
||||
autoCancel: false);
|
||||
const NotificationDetails notificationDetails = NotificationDetails(android: androidNotificationDetails);
|
||||
@@ -60,10 +62,10 @@ class NotificationManager{
|
||||
}
|
||||
}catch(e){
|
||||
print("error ongoing activity");
|
||||
await fltrNotification.cancel(1);
|
||||
fltrNotification.cancel(1);
|
||||
}
|
||||
}else{
|
||||
await fltrNotification.cancel(1);
|
||||
fltrNotification.cancel(1);
|
||||
}
|
||||
|
||||
if(adaptive_notification && adaptive_notification_availabel){
|
||||
|
||||
Reference in New Issue
Block a user