Add silent start for desktop
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
import 'package:hiddify/core/prefs/general_prefs.dart';
|
||||
import 'package:hiddify/domain/clash/clash.dart';
|
||||
import 'package:hiddify/domain/connectivity/connectivity.dart';
|
||||
|
||||
@@ -9,6 +10,7 @@ class PrefsState with _$PrefsState {
|
||||
const PrefsState._();
|
||||
|
||||
const factory PrefsState({
|
||||
@Default(GeneralPrefs()) GeneralPrefs general,
|
||||
@Default(ClashConfig()) ClashConfig clash,
|
||||
@Default(NetworkPrefs()) NetworkPrefs network,
|
||||
}) = _PrefsState;
|
||||
|
||||
Reference in New Issue
Block a user