Skip to content

Commit

Permalink
AccountSettings: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc2822 committed Dec 25, 2024
1 parent d7b5c4a commit 147f830
Showing 1 changed file with 1 addition and 3 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

0 comments on commit 147f830

Please sign in to comment.