lets use the proper status bar color at the top title too

This commit is contained in:
tibbi 2022-04-11 09:54:06 +02:00
parent 67eed8b978
commit 00a03ee29f

View file

@ -49,7 +49,7 @@ import java.io.FileOutputStream
import java.io.OutputStream
import java.util.*
fun AppCompatActivity.updateActionBarTitle(text: String, color: Int = getProperPrimaryColor()) {
fun AppCompatActivity.updateActionBarTitle(text: String, color: Int = getProperStatusBarColor()) {
val colorToUse = if (baseConfig.isUsingSystemTheme) {
getProperTextColor()
} else {