From 3ff85c2ab71d89ff54cf67507b0a81ad12999ce6 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Fri, 7 Feb 2020 22:22:27 +0100 Subject: [PATCH] Make report error title in snackbar uppercase again --- app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java b/app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java index e7a6319e3..0bb93c63f 100644 --- a/app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java +++ b/app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java @@ -91,7 +91,7 @@ public class ErrorActivity extends AppCompatActivity { if (rootView != null) { Snackbar.make(rootView, R.string.error_snackbar_message, 3 * 1000) .setActionTextColor(Color.YELLOW) - .setAction(R.string.error_snackbar_action, v -> + .setAction(context.getString(R.string.error_snackbar_action).toUpperCase(), v -> startErrorActivity(returnActivity, context, errorInfo, el)).show(); } else { startErrorActivity(returnActivity, context, errorInfo, el);