Skip to content

Commit

Permalink
AccountSettings: actually increase version number
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc2822 committed Dec 25, 2024
1 parent d7b5c4a commit 802a587
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ class AccountSettings @AssistedInject constructor(

fun setSyncWiFiOnly(wiFiOnly: Boolean) {
accountManager.setAndVerifyUserData(account, KEY_WIFI_ONLY, if (wiFiOnly) "1" else null)

for (dataType in SyncDataType.entries)
automaticSyncManager.updateAutomaticSync(account, dataType)
automaticSyncManager.updateAutomaticSync(account)
}

fun getSyncWifiOnlySSIDs(): List<String>? =
Expand Down Expand Up @@ -344,7 +342,7 @@ class AccountSettings @AssistedInject constructor(

companion object {

const val CURRENT_VERSION = 18
const val CURRENT_VERSION = 19
const val KEY_SETTINGS_VERSION = "version"

const val KEY_SYNC_INTERVAL_ADDRESSBOOKS = "sync_interval_addressbooks"
Expand Down

0 comments on commit 802a587

Please sign in to comment.