summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt b/app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt
index a780163d..f66fd33c 100644
--- a/app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt
+++ b/app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt
@@ -83,7 +83,7 @@ fun Context.resolveAttribute(attr: Int): Int {
suspend fun FragmentActivity.commitChange(
message: String,
): Result<Unit, Throwable> {
- if (!PasswordRepository.isGitRepo()) {
+ if (!PasswordRepository.isInitialized) {
return Ok(Unit)
}
return object : GitOperation(this@commitChange) {