feat: network requirement option for upload (#20302)

* wifi toggle

* feat: network requirement option for upload

* chore: put back holding queue previous config numbers

* options

* backup option page

* pr feedback
This commit is contained in:
Alex 2025-07-30 11:43:20 -05:00 committed by GitHub
parent 47a025f39f
commit 10e9c278ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 220 additions and 14 deletions

View file

@ -187,12 +187,12 @@ class DriftBackupState {
}
}
final driftBackupProvider = StateNotifierProvider<ExpBackupNotifier, DriftBackupState>((ref) {
return ExpBackupNotifier(ref.watch(uploadServiceProvider));
final driftBackupProvider = StateNotifierProvider<DriftBackupNotifier, DriftBackupState>((ref) {
return DriftBackupNotifier(ref.watch(uploadServiceProvider));
});
class ExpBackupNotifier extends StateNotifier<DriftBackupState> {
ExpBackupNotifier(this._uploadService)
class DriftBackupNotifier extends StateNotifier<DriftBackupState> {
DriftBackupNotifier(this._uploadService)
: super(
const DriftBackupState(
totalCount: 0,