diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java b/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java index 9ea4415b..3fc0873d 100644 --- a/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java +++ b/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java @@ -444,7 +444,7 @@ public class GitActivity extends AppCompatActivity { return false; } } - if (PasswordRepository.isInitialized()) { + if (PasswordRepository.isInitialized() && settings.getBoolean("repository_initialized", false)) { // don't just use the clone_uri text, need to use hostname which has // had the proper protocol prepended PasswordRepository.addRemote("origin", hostname, true); |