mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
API 34: Implement workaround to keep sticky notifications non-dismissible
This commit is contained in:
@@ -89,6 +89,12 @@ class NotificationTray @Inject constructor(
|
||||
}
|
||||
}
|
||||
|
||||
fun reshow(habit: Habit) {
|
||||
active[habit]?.let {
|
||||
taskRunner.execute(ShowNotificationTask(habit, it))
|
||||
}
|
||||
}
|
||||
|
||||
interface SystemTray {
|
||||
fun removeNotification(notificationId: Int)
|
||||
fun showNotification(
|
||||
|
||||
Reference in New Issue
Block a user