corrected the icon for decryption

This commit is contained in:
Zeapo 2014-08-06 23:52:45 +01:00
parent a313825756
commit e7052f2b4e
2 changed files with 6 additions and 3 deletions

View file

@ -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();
}

View file

@ -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"