mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-29 13:41:03 +00:00
use navigation notification button SVG
This commit is contained in:
@@ -52,22 +52,13 @@ val navigationBarHookPatch = bytecodePatch(description = "Hooks the active navig
|
||||
resourcePatch {
|
||||
// Copy missing notification icon.
|
||||
execute {
|
||||
arrayOf(
|
||||
// App does not use ldpi icons.
|
||||
"mdpi",
|
||||
"hdpi",
|
||||
"xhdpi",
|
||||
"xxhdpi",
|
||||
"xxxhdpi",
|
||||
).forEach { mipmap ->
|
||||
copyResources(
|
||||
"navigationbuttons",
|
||||
ResourceGroup(
|
||||
"drawable-$mipmap",
|
||||
"revanced_fill_bell_cairo_black_24.png"
|
||||
)
|
||||
copyResources(
|
||||
"navigationbuttons",
|
||||
ResourceGroup(
|
||||
"drawable",
|
||||
"revanced_fill_bell_cairo_black_24.xml"
|
||||
)
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 378 B |
Binary file not shown.
|
Before Width: | Height: | Size: 237 B |
Binary file not shown.
|
Before Width: | Height: | Size: 415 B |
Binary file not shown.
|
Before Width: | Height: | Size: 711 B |
Binary file not shown.
|
Before Width: | Height: | Size: 848 B |
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="?android:attr/textColorPrimary"
|
||||
android:pathData="M12,2 C10.9805,2,10.1133,2.59766,10.0117,4.41406 C8.23438,4.85156,7.36328,5.87109,6.84766,6.80078 C6.16797,8.02734,6.12109,8.55859,6.03906,11.9102 L5.95313,15.4414 L4.97656,16.3984 C4.23047,17.125,4,17.5469,4,18.1758 L4,19 L20,19 L20,18.1758 C20,17.5469,19.7695,17.125,19.0234,16.3984 L18.0469,15.4414 L17.9609,11.9102 C17.8789,8.55859,17.832,8.02734,17.1523,6.80078 C16.6367,5.87109,15.7656,4.86328,13.9883,4.42578 C13.8867,2.60156,13.0195,2,12,2 Z M10,20 C10,21.0078,10.7461,22,12,22 C13.2539,22,14,21.0078,14,20 Z M10,20" />
|
||||
</vector>
|
||||
Reference in New Issue
Block a user