fix: only check repo initialization in commit flow
This commit is contained in:
parent
c4edf7f0e6
commit
0a16ac7620
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue