mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 21:58:53 +01:00
Only set navigationBarColor manually for API 27+
This commit is contained in:
@@ -89,7 +89,7 @@ abstract class QkThemedActivity : QkActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Some devices don't let you modify android.R.attr.navigationBarColor
|
// Some devices don't let you modify android.R.attr.navigationBarColor
|
||||||
window.navigationBarColor = resolveThemeColor(android.R.attr.windowBackground)
|
if (Build.VERSION.SDK_INT >= 27) window.navigationBarColor = resolveThemeColor(android.R.attr.windowBackground)
|
||||||
|
|
||||||
// Set the color for the overflow and navigation icon
|
// Set the color for the overflow and navigation icon
|
||||||
val textTertiary = resolveThemeColor(android.R.attr.textColorTertiary)
|
val textTertiary = resolveThemeColor(android.R.attr.textColorTertiary)
|
||||||
|
|||||||
Reference in New Issue
Block a user