diff --git a/app/build.gradle b/app/build.gradle index 018457ac0..ff39b36b2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,7 +32,7 @@ android { } dependencies { - compile 'com.simplemobiletools:commons:2.3.5' + compile 'com.simplemobiletools:commons:2.3.7' compile 'joda-time:joda-time:2.9.1' compile 'com.facebook.stetho:stetho:1.4.1' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt index a976ba4b2..821962971 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt @@ -95,5 +95,5 @@ private fun getNotificationIntent(context: Context, eventId: Int): PendingIntent } fun Context.getAppropriateTheme(): Int { - return if (Config.newInstance(this).backgroundColor.getContrastColor() == Color.WHITE) R.style.DialogTheme_Dark else R.style.DialogTheme + return if (Config.newInstance(this).backgroundColor.getContrastColor() == Color.WHITE) R.style.MyDialogTheme_Dark else R.style.MyDialogTheme } diff --git a/app/src/main/res/values-v21/styles.xml b/app/src/main/res/values-v21/styles.xml index 9a58aeafa..33cef7a62 100644 --- a/app/src/main/res/values-v21/styles.xml +++ b/app/src/main/res/values-v21/styles.xml @@ -8,13 +8,4 @@ ?android:attr/selectableItemBackground - - - - diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index a8c6b1739..5260c5b62 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -15,15 +15,4 @@ - - - -