mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 06:07:48 -06:00
feat: bugfixes, finished go_router migration, implemented better visibility of states
This commit is contained in:
@@ -52,10 +52,10 @@ class PendingTasksNotifier extends ValueNotifier<Map<String, Task>> {
|
||||
_subscriptions[taskId]?.cancel();
|
||||
_subscriptions.remove(taskId);
|
||||
} else {
|
||||
_subscriptions.forEach((key, value) {
|
||||
value.cancel();
|
||||
_subscriptions.remove(key);
|
||||
});
|
||||
for (var sub in _subscriptions.values) {
|
||||
sub.cancel();
|
||||
}
|
||||
_subscriptions.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user