summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/dialog
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-03-10 08:02:34 +0100
committerGitHub <noreply@github.com>2024-03-10 08:02:34 +0100
commit393a8cebd3f26b6a1edae71f33e25d5c9cf42ded (patch)
treedf69719b2cee6ecb12dd17f360f29e5e9487cabf /app/src/main/java/de/danoeh/antennapod/dialog
parentb18e5f0de61bff72a2fc60910418769f7de145e9 (diff)
downloadAntennaPod-393a8cebd3f26b6a1edae71f33e25d5c9cf42ded.zip
Remove last few usages of Iconify (#6977)
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java9
1 files changed, 3 insertions, 6 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 4d9c526c0..64b85a94e 100644
--- a/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java
+++ b/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java
@@ -256,9 +256,8 @@ public class ProxyDialog {
TypedArray res = context.getTheme().obtainStyledAttributes(new int[] { android.R.attr.textColorPrimary });
int textColorPrimary = res.getColor(0, 0);
res.recycle();
- String checking = context.getString(R.string.proxy_checking);
txtvMessage.setTextColor(textColorPrimary);
- txtvMessage.setText("{fa-circle-o-notch spin} " + checking);
+ txtvMessage.setText(R.string.proxy_checking);
txtvMessage.setVisibility(View.VISIBLE);
disposable = Completable.create(emitter -> {
String type = (String) spType.getSelectedItem();
@@ -300,15 +299,13 @@ public class ProxyDialog {
.subscribe(
() -> {
txtvMessage.setTextColor(ThemeUtils.getColorFromAttr(context, R.attr.icon_green));
- String message = String.format("%s %s", "{fa-check}",
- context.getString(R.string.proxy_test_successful));
- txtvMessage.setText(message);
+ txtvMessage.setText(R.string.proxy_test_successful);
setTestRequired(false);
},
error -> {
error.printStackTrace();
txtvMessage.setTextColor(ThemeUtils.getColorFromAttr(context, R.attr.icon_red));
- String message = String.format("%s %s: %s", "{fa-close}",
+ String message = String.format("%s: %s",
context.getString(R.string.proxy_test_failed), error.getMessage());
txtvMessage.setText(message);
setTestRequired(true);