mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-09-03 07:45:08 +00:00
fix: inverted test in Migrations#removeCurrentBranchValue
This commit is contained in:
@@ -31,7 +31,7 @@ fun runMigrations(filesDirPath: String, sharedPrefs: SharedPreferences, gitSetti
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun removeCurrentBranchValue(sharedPrefs: SharedPreferences) {
|
fun removeCurrentBranchValue(sharedPrefs: SharedPreferences) {
|
||||||
if (sharedPrefs.contains(PreferenceKeys.GIT_BRANCH_NAME)) {
|
if (!sharedPrefs.contains(PreferenceKeys.GIT_BRANCH_NAME)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
logcat(TAG, INFO) { "Deleting now unused branch name preference" }
|
logcat(TAG, INFO) { "Deleting now unused branch name preference" }
|
||||||
|
Reference in New Issue
Block a user