mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 06:15:48 +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) {
|
||||
if (sharedPrefs.contains(PreferenceKeys.GIT_BRANCH_NAME)) {
|
||||
if (!sharedPrefs.contains(PreferenceKeys.GIT_BRANCH_NAME)) {
|
||||
return
|
||||
}
|
||||
logcat(TAG, INFO) { "Deleting now unused branch name preference" }
|
||||
|
Reference in New Issue
Block a user