Refactor preferences

This commit is contained in:
problematicconsumer
2024-03-02 22:53:14 +03:30
parent 201ea5e88d
commit 2a994dc348
32 changed files with 1104 additions and 1389 deletions

View File

@@ -33,7 +33,7 @@ class IpInfoNotifier extends _$IpInfoNotifier with AppLogger {
(_, next) => _idle = false,
);
final autoCheck = ref.watch(autoCheckIpProvider);
final autoCheck = ref.watch(Preferences.autoCheckIp);
final serviceRunning = await ref.watch(serviceRunningProvider.future);
// loggy.debug(
// "idle? [$_idle], forced? [$_forceCheck], connected? [$serviceRunning]",