From de4171ed30e11f727fb393e510e43e21f01c2bb5 Mon Sep 17 00:00:00 2001 From: DrDisagree Date: Thu, 5 Sep 2024 12:06:40 +0600 Subject: [PATCH] OP QS Header: Revert color initialization Signed-off-by: DrDisagree --- .../com/drdisagree/iconify/xposed/modules/OpQsHeader.kt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/modules/OpQsHeader.kt b/app/src/main/java/com/drdisagree/iconify/xposed/modules/OpQsHeader.kt index dc62fdd1e..9d1195627 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/modules/OpQsHeader.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/modules/OpQsHeader.kt @@ -382,13 +382,8 @@ class OpQsHeader(context: Context?) : ModPack(context!!) { } } - val onConfigChanged = object : XC_MethodHook() { - override fun afterHookedMethod(param: MethodHookParam) { - updateOpHeaderView() - } - } - - hookAllMethods(qsTileViewImplClass, "onConfigurationChanged", updateColors) + hookAllMethods(qsTileViewImplClass, "init", updateColors) + hookAllMethods(qsTileViewImplClass, "updateResources", updateColors) hookAllMethods(quickStatusBarHeaderClass, "onFinishInflate", object : XC_MethodHook() { override fun afterHookedMethod(param: MethodHookParam) {