This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
app/src/main/java/com/zeapo/pwdstore/crypto Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -566,9 +566,6 @@ public void run() {
566566 if (requestCode == REQUEST_CODE_EDIT && os != null ) {
567567 try {
568568 if (returnToCiphertextField ) {
569- findViewById (R .id .progress_bar ).setVisibility (View .GONE );
570- findViewById (R .id .progress_bar_label ).setVisibility (View .GONE );
571-
572569 findViewById (R .id .crypto_container ).setVisibility (View .VISIBLE );
573570
574571 Typeface monoTypeface = Typeface .createFromAsset (getAssets (), "fonts/sourcecodepro.ttf" );
@@ -600,11 +597,6 @@ public void run() {
600597 case OpenPgpApi .RESULT_CODE_USER_INTERACTION_REQUIRED : {
601598 Log .i ("PgpHandler" , "RESULT_CODE_USER_INTERACTION_REQUIRED" );
602599
603- View progress_bar_label = findViewById (R .id .progress_bar_label );
604- if (progress_bar_label != null ) {
605- progress_bar_label .setVisibility (View .VISIBLE );
606- }
607-
608600 PendingIntent pi = result .getParcelableExtra (OpenPgpApi .RESULT_INTENT );
609601 try {
610602 PgpHandler .this .startIntentSenderForResult (pi .getIntentSender (),
@@ -701,8 +693,6 @@ public void edit(Intent data) {
701693 // exactly same as decrypt, only we want a different callback
702694 data .setAction (OpenPgpApi .ACTION_DECRYPT_VERIFY );
703695
704- findViewById (R .id .progress_bar ).setVisibility (View .VISIBLE );
705-
706696 try {
707697 InputStream is = FileUtils .openInputStream (new File (getIntent ().getExtras ().getString ("FILE_PATH" )));
708698
You can’t perform that action at this time.
0 commit comments