diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/app/passwordstore/util/settings/Migrations.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/util/settings/Migrations.kt b/app/src/main/java/app/passwordstore/util/settings/Migrations.kt index 19aae6c7..848b3bd9 100644 --- a/app/src/main/java/app/passwordstore/util/settings/Migrations.kt +++ b/app/src/main/java/app/passwordstore/util/settings/Migrations.kt @@ -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" } |