Skip to content

Commit

Permalink
OP QS Header: Revert color initialization
Browse files Browse the repository at this point in the history
Signed-off-by: DrDisagree <[email protected]>
  • Loading branch information
Mahmud0808 committed Sep 5, 2024
1 parent ebbda01 commit de4171e
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit de4171e

Please sign in to comment.