From e7052f2b4e1c7e82e445657e4d1680122ee50123 Mon Sep 17 00:00:00 2001 From: Zeapo Date: Wed, 6 Aug 2014 23:52:45 +0100 Subject: corrected the icon for decryption --- app/src/main/java/com/zeapo/pwdstore/GitClone.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/src/main/java') diff --git a/app/src/main/java/com/zeapo/pwdstore/GitClone.java b/app/src/main/java/com/zeapo/pwdstore/GitClone.java index de0cbde0..7e192e25 100644 --- a/app/src/main/java/com/zeapo/pwdstore/GitClone.java +++ b/app/src/main/java/com/zeapo/pwdstore/GitClone.java @@ -74,8 +74,6 @@ public class GitClone extends Activity { context = getApplicationContext(); activity = this; - getActionBar().setDisplayHomeAsUpEnabled(true); - // init the spinner for protocols Spinner protcol_spinner = (Spinner) findViewById(R.id.clone_protocol); ArrayAdapter protocol_adapter = ArrayAdapter.createFromResource(this, @@ -213,6 +211,11 @@ public class GitClone extends Activity { } }).show(); + default: + this.dialog.dismiss(); + setResult(RESULT_OK); + finish(); + return; } this.dialog.dismiss(); } -- cgit v1.2.3