do not use the dynamic theme at widget config screens

This commit is contained in:
tibbi 2017-11-29 22:41:29 +01:00
parent 7a2638832e
commit b642561616
3 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:2.42.8'
implementation 'com.simplemobiletools:commons:3.0.3'
implementation 'joda-time:joda-time:2.9.9'
implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'com.android.support:multidex:1.0.2'

View File

@ -36,6 +36,7 @@ class WidgetListConfigureActivity : SimpleActivity() {
private var mEventsAdapter: EventListAdapter? = null
public override fun onCreate(savedInstanceState: Bundle?) {
useDynamicTheme = false
super.onCreate(savedInstanceState)
setResult(Activity.RESULT_CANCELED)
setContentView(R.layout.widget_config_list)

View File

@ -44,6 +44,7 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {
private var mPrimaryColor = 0
public override fun onCreate(savedInstanceState: Bundle?) {
useDynamicTheme = false
super.onCreate(savedInstanceState)
setResult(Activity.RESULT_CANCELED)
setContentView(R.layout.widget_config_monthly)