test: expand client-side coverage and fix lifecycle issues
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user