mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
ensure that the configuration is saved
This commit is contained in:
@@ -465,6 +465,8 @@ public class GitActivity extends ActionBarActivity {
|
|||||||
username = hostname.split("@")[0];
|
username = hostname.split("@")[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
saveConfiguration();
|
||||||
|
|
||||||
if (localDir.exists() && localDir.listFiles().length != 0) {
|
if (localDir.exists() && localDir.listFiles().length != 0) {
|
||||||
new AlertDialog.Builder(this).
|
new AlertDialog.Builder(this).
|
||||||
setTitle(R.string.dialog_delete_title).
|
setTitle(R.string.dialog_delete_title).
|
||||||
@@ -505,8 +507,6 @@ public class GitActivity extends ActionBarActivity {
|
|||||||
).
|
).
|
||||||
show();
|
show();
|
||||||
} else {
|
} else {
|
||||||
saveConfiguration();
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
new CloneOperation(localDir, activity)
|
new CloneOperation(localDir, activity)
|
||||||
.setCommand(hostname)
|
.setCommand(hostname)
|
||||||
|
Reference in New Issue
Block a user