From 00a03ee29f7a85819b143f6a017a52e4c0a95e5b Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 11 Apr 2022 09:54:06 +0200 Subject: [PATCH] lets use the proper status bar color at the top title too --- .../kotlin/com/simplemobiletools/commons/extensions/Activity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt index 3d5ffcbe9..b93989eba 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt @@ -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 {