Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 72fcf46

Browse files
committed
follow: remove progress bar when waiting for OpenKeychain
1 parent 708fce2 commit 72fcf46

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)