Add config options
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import 'package:hiddify/utils/pref_notifier.dart';
|
||||
|
||||
final silentStartProvider = PrefNotifier.provider("silent_start", false);
|
||||
|
||||
final debugModeProvider = PrefNotifier.provider("debug_mode", false);
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
import 'package:hiddify/domain/constants.dart';
|
||||
import 'package:hiddify/utils/pref_notifier.dart';
|
||||
|
||||
final connectionTestUrlProvider =
|
||||
PrefNotifier.provider("connection_test_url", Defaults.connectionTestUrl);
|
||||
|
||||
final concurrentTestCountProvider = PrefNotifier.provider(
|
||||
"concurrent_test_count",
|
||||
Defaults.concurrentTestCount,
|
||||
);
|
||||
|
||||
final debugModeProvider = PrefNotifier.provider("debug_mode", false);
|
||||
@@ -1,2 +1 @@
|
||||
export 'general_prefs.dart';
|
||||
export 'misc_prefs.dart';
|
||||
|
||||
Reference in New Issue
Block a user