summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2015-01-04 22:00:58 +0100
committerzeapo <mohamed@zenadi.com>2015-01-04 22:00:58 +0100
commita8209a40f912d210b9da6b44bf5199c9d267d2e7 (patch)
tree64a5f4592800d7ea56350977a96dd6b9a1da476e /app
parent5d11cb2d2b897500155a5f1d68e431bb567292bd (diff)
ensure that the configuration is savedv1.2.0.12
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java4
1 files changed, 2 insertions, 2 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 637d2052..ba05b939 100644
--- a/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java
+++ b/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java
@@ -465,6 +465,8 @@ public class GitActivity extends ActionBarActivity {
username = hostname.split("@")[0];
}
+ saveConfiguration();
+
if (localDir.exists() && localDir.listFiles().length != 0) {
new AlertDialog.Builder(this).
setTitle(R.string.dialog_delete_title).
@@ -505,8 +507,6 @@ public class GitActivity extends ActionBarActivity {
).
show();
} else {
- saveConfiguration();
-
try {
new CloneOperation(localDir, activity)
.setCommand(hostname)