Skip to content

Commit

Permalink
QS Black Theme: Make QS footer actions background black
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Apr 19, 2024
1 parent 02dfb61 commit 750c04c
Showing 1 changed file with 10 additions and 1 deletion.
Expand Up @@ -265,7 +265,16 @@ class QSBlackThemeA14(context: Context?) : ModPack(context!!) {
override fun afterHookedMethod(param: MethodHookParam) {
if (!blackQSHeaderEnabled) return

val view = param.thisObject as ViewGroup
val view = (param.thisObject as ViewGroup).findViewById<ViewGroup>(
mContext.resources.getIdentifier(
"qs_footer_actions",
"id",
mContext.packageName
)
).also {
it.background.setTint(Color.BLACK)
it.elevation = 0f
}

// Settings button
view.findViewById<View>(
Expand Down

0 comments on commit 750c04c

Please sign in to comment.