diff options
author | TacoTheDank <SkytkRSfan3895@gmail.com> | 2020-07-11 19:11:18 -0400 |
---|---|---|
committer | TacoTheDank <SkytkRSfan3895@gmail.com> | 2020-07-11 19:11:18 -0400 |
commit | cbea32684652c8b1f4b3302056ce476f383d1de1 (patch) | |
tree | 6055aecc20629ef6be1bf98a3d964f9988e443f4 /app | |
parent | ecb551c9713adc22549fc068c3f114eccafc75ec (diff) | |
download | AntennaPod-cbea32684652c8b1f4b3302056ce476f383d1de1.zip |
Extract common parts
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java index 0c25e3e9f..c07ababa2 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java @@ -227,12 +227,11 @@ public class ProxyDialog { if(required) { testSuccessful = false; dialog.getButton(AlertDialog.BUTTON_POSITIVE).setText(R.string.proxy_test_label); - dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(true); } else { testSuccessful = true; dialog.getButton(AlertDialog.BUTTON_POSITIVE).setText(android.R.string.ok); - dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(true); } + dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(true); } private void test() { |