summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeapo <mohamed@zenadi.com>2014-08-06 23:52:45 +0100
committerZeapo <mohamed@zenadi.com>2014-08-06 23:52:45 +0100
commite7052f2b4e1c7e82e445657e4d1680122ee50123 (patch)
tree3f8c47994776d0215f46d28f8a3cf4e9f3f20a4f
parenta3138257561f8319fcb44489cc87e690bfcd0d02 (diff)
corrected the icon for decryption
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/GitClone.java7
-rw-r--r--app/src/main/res/layout/decrypt_layout.xml2
2 files changed, 6 insertions, 3 deletions
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<CharSequence> 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();
}
diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml
index b80d3e50..c1ae7c6c 100644
--- a/app/src/main/res/layout/decrypt_layout.xml
+++ b/app/src/main/res/layout/decrypt_layout.xml
@@ -37,7 +37,7 @@
android:id="@+id/crypto_show_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:src="@drawable/ico_add"
+ android:src="@drawable/ico_key"
android:background="@android:drawable/screen_background_light_transparent"
android:layout_gravity="center_vertical"
android:onClick="handleClick"