From 20d3ae0e328ba9e6ca153bdfba268f24e465c19d Mon Sep 17 00:00:00 2001 From: Tommaso Berlose Date: Mon, 5 Oct 2020 00:46:29 +0200 Subject: [PATCH] Bugfix --- .../com/tommasoberlose/anotherwidget/helpers/WidgetHelper.kt | 1 - app/src/main/res/layout/activity_custom_font.xml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/tommasoberlose/anotherwidget/helpers/WidgetHelper.kt b/app/src/main/java/com/tommasoberlose/anotherwidget/helpers/WidgetHelper.kt index 814ee3a..d87f7cc 100644 --- a/app/src/main/java/com/tommasoberlose/anotherwidget/helpers/WidgetHelper.kt +++ b/app/src/main/java/com/tommasoberlose/anotherwidget/helpers/WidgetHelper.kt @@ -57,7 +57,6 @@ object WidgetHelper { fun runWithCustomTypeface(context: Context, function: (typeface: Typeface?) -> Unit) { if (Preferences.customFontFile != "") { - Log.d("ciao", Preferences.customFontFile) val request = FontRequest( "com.google.android.gms.fonts", "com.google.android.gms", diff --git a/app/src/main/res/layout/activity_custom_font.xml b/app/src/main/res/layout/activity_custom_font.xml index e014111..55e2f2b 100644 --- a/app/src/main/res/layout/activity_custom_font.xml +++ b/app/src/main/res/layout/activity_custom_font.xml @@ -41,7 +41,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_centerInParent="true" - android:text="@string/action_choose_application" + android:text="@string/settings_custom_font_title" android:gravity="center" style="@style/AnotherWidget.Main.Title"/>