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

Commit 708fce2

Browse files
committed
no longer needed as it was fixed in OpenKeychain
1 parent 210c41e commit 708fce2

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
416416
break;
417417
}
418418
case REQUEST_CODE_DECRYPT_AND_VERIFY: {
419-
findViewById(R.id.progress_bar_label).setVisibility(View.GONE);
420419
decryptAndVerify(data);
421420
break;
422421
}
@@ -488,9 +487,6 @@ public void onReturn(Intent result) {
488487
if (requestCode == REQUEST_CODE_DECRYPT_AND_VERIFY && os != null) {
489488
try {
490489
if (returnToCiphertextField) {
491-
findViewById(R.id.progress_bar).setVisibility(View.GONE);
492-
findViewById(R.id.progress_bar_label).setVisibility(View.GONE);
493-
494490
boolean showPassword = settings.getBoolean("show_password", true);
495491
findViewById(R.id.crypto_container).setVisibility(View.VISIBLE);
496492

@@ -645,8 +641,6 @@ public void getKeyIds(Intent data) {
645641
public void decryptAndVerify(Intent data) {
646642
data.setAction(OpenPgpApi.ACTION_DECRYPT_VERIFY);
647643

648-
findViewById(R.id.progress_bar).setVisibility(View.VISIBLE);
649-
650644
try {
651645
InputStream is = FileUtils.openInputStream(new File(getIntent().getExtras().getString("FILE_PATH")));
652646

app/src/main/res/layout/decrypt_layout.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,6 @@
4848
android:layout_marginTop="16dp"
4949
android:layout_marginBottom="16dp" />
5050

51-
<ProgressBar
52-
style="?android:attr/progressBarStyleLarge"
53-
android:layout_width="wrap_content"
54-
android:layout_height="wrap_content"
55-
android:layout_marginTop="32dp"
56-
android:id="@+id/progress_bar"
57-
android:layout_gravity="center_horizontal"
58-
android:indeterminate="true"
59-
android:visibility="gone"/>
60-
<TextView
61-
android:id="@+id/progress_bar_label"
62-
android:layout_width="wrap_content"
63-
android:layout_height="wrap_content"
64-
android:layout_gravity="center_horizontal"
65-
android:text="Authentication Required"
66-
android:visibility="gone"/>
67-
6851
<LinearLayout
6952
android:id="@+id/crypto_container"
7053
android:orientation="vertical"

0 commit comments

Comments
 (0)