diff options
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt | 2 |
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) { |