diff --git a/app/build.gradle b/app/build.gradle index 1c7f8ba6..69e52e1d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -40,7 +40,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:3.0.0' + implementation 'com.simplemobiletools:commons:3.0.3' implementation 'me.grantland:autofittextview:0.2.1' testImplementation 'junit:junit:4.12' 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 a5f67585..fe310fb2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt @@ -5,7 +5,6 @@ import android.appwidget.AppWidgetManager import android.content.Intent import android.graphics.Color import android.os.Bundle -import android.support.v7.app.AppCompatActivity import android.widget.Button import android.widget.RemoteViews import android.widget.SeekBar @@ -19,7 +18,7 @@ import com.simplemobiletools.commons.extensions.setBackgroundColor import kotlinx.android.synthetic.main.activity_main.* import kotlinx.android.synthetic.main.widget_config.* -class WidgetConfigureActivity : AppCompatActivity() { +class WidgetConfigureActivity : SimpleActivity() { private var mBgColor = 0 private var mBgColorWithoutTransparency = 0 private var mWidgetId = 0 @@ -27,6 +26,7 @@ class WidgetConfigureActivity : AppCompatActivity() { private var mBgAlpha = 0f public override fun onCreate(savedInstanceState: Bundle?) { + useDynamicTheme = false super.onCreate(savedInstanceState) setResult(Activity.RESULT_CANCELED) setContentView(R.layout.widget_config)