mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
use proper status bar color at call screen with Material You theme
This commit is contained in:
@ -62,7 +62,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:9950e5f837'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:4d2a8db66f'
|
||||||
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
|
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
|
||||||
implementation 'me.grantland:autofittextview:0.2.1'
|
implementation 'me.grantland:autofittextview:0.2.1'
|
||||||
}
|
}
|
||||||
|
@ -87,6 +87,10 @@ class CallActivity : SimpleActivity() {
|
|||||||
super.onResume()
|
super.onResume()
|
||||||
updateState()
|
updateState()
|
||||||
updateNavigationBarColor(getProperBackgroundColor())
|
updateNavigationBarColor(getProperBackgroundColor())
|
||||||
|
|
||||||
|
if (config.isUsingSystemTheme) {
|
||||||
|
updateStatusbarColor(getProperBackgroundColor())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
|
Reference in New Issue
Block a user