test: expand client-side coverage and fix lifecycle issues

This commit is contained in:
Artem Kokos
2026-05-01 10:12:33 +07:00
parent 2fa89f6be0
commit 8f0753c1e2
10 changed files with 1116 additions and 43 deletions

View File

@@ -112,7 +112,8 @@ class GroupsNotifier extends Notifier<List<IgnisGroup>> {
_timer = Timer.periodic(const Duration(seconds: 10), (_) => refresh());
}
void stopPolling() => _stopPolling();
void stopPolling({bool resetStatus = true}) =>
_stopPolling(resetStatus: resetStatus);
void _stopPolling({bool resetStatus = true}) {
_timer?.cancel();