mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
feature: Toggle wifi requirement for downloads (#110)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
0b0cd3a557
commit
cb4b416bfc
7 changed files with 46 additions and 6 deletions
|
|
@ -56,4 +56,6 @@ class ClientSettingsNotifier extends StateNotifier<ClientSettingsModel> {
|
|||
|
||||
void setSchemeVariant(DynamicSchemeVariant? type) =>
|
||||
state = state.copyWith(schemeVariant: type ?? state.schemeVariant);
|
||||
|
||||
void setRequireWifi(bool value) => state = state.copyWith(requireWifi: value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue