From dc502ed0449eb60288ad562d6b79f6d5ffd314ad Mon Sep 17 00:00:00 2001 From: Benjamin Cheng Date: Tue, 9 Jun 2020 15:37:09 +0800 Subject: [PATCH] Fix set-default-browser ui and string issues --- app/src/main/java/org/mozilla/focus/utils/DialogUtils.kt | 2 +- .../res/layout/layout_default_browser_tutorial_dialog.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/mozilla/focus/utils/DialogUtils.kt b/app/src/main/java/org/mozilla/focus/utils/DialogUtils.kt index 64e183372e..326f0ae581 100644 --- a/app/src/main/java/org/mozilla/focus/utils/DialogUtils.kt +++ b/app/src/main/java/org/mozilla/focus/utils/DialogUtils.kt @@ -666,7 +666,7 @@ object DialogUtils { ) val styleSpan = StyleSpan(Typeface.BOLD) val firstStepDescription = context.getString(R.string.instruction_select) - .highlightPlaceholder(context.getString(R.string.browser_app), styleSpan) + .highlightPlaceholder(context.getString(R.string.app_name), styleSpan) val secondStepDescription = context.getString(R.string.instruction_tap) .highlightPlaceholder(context.getString(R.string.always), styleSpan) diff --git a/app/src/main/res/layout/layout_default_browser_tutorial_dialog.xml b/app/src/main/res/layout/layout_default_browser_tutorial_dialog.xml index c34481d649..7b3f4310ef 100644 --- a/app/src/main/res/layout/layout_default_browser_tutorial_dialog.xml +++ b/app/src/main/res/layout/layout_default_browser_tutorial_dialog.xml @@ -5,8 +5,8 @@ android:layout_height="wrap_content" android:gravity="center_horizontal" android:orientation="vertical" - android:paddingStart="30dp" - android:paddingEnd="30dp"> + android:paddingStart="28dp" + android:paddingEnd="28dp">