diff --git a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt index 864f2087..f54aa995 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt @@ -64,7 +64,6 @@ class WidgetConfigureActivity : SimpleActivity() { if (mFeatureLockedDialog != null && isOrWasThankYouInstalled()) { mFeatureLockedDialog?.dismissDialog() } - setupToolbar(config_toolbar) } private fun initVariables() { @@ -78,6 +77,10 @@ class WidgetConfigureActivity : SimpleActivity() { updateBackgroundColor() mTextColor = config.widgetTextColor + if (mTextColor == resources.getInteger(R.integer.default_widget_text_color) && config.isUsingSystemTheme) { + mTextColor = resources.getColor(R.color.you_primary_color, theme) + } + updateTextColor() formula.text = "15,937*5" diff --git a/app/src/main/res/layout/widget_config.xml b/app/src/main/res/layout/widget_config.xml index 1811bbac..8455bfa1 100644 --- a/app/src/main/res/layout/widget_config.xml +++ b/app/src/main/res/layout/widget_config.xml @@ -1,32 +1,15 @@ - - - - - - + android:layout_margin="@dimen/activity_margin">