Skip to content

Commit 0951c64

Browse files
invert icon colors?
1 parent 768cdea commit 0951c64

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

extensions/shared/library/src/main/java/app/revanced/extension/shared/patches/CustomBrandingPatch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static void setNotificationIcon(Notification.Builder builder) {
7878
try {
7979
if (notificationSmallIcon != 0) {
8080
builder.setSmallIcon(notificationSmallIcon)
81-
.setColor(Color.WHITE);
81+
.setColor(Color.BLACK);
8282
}
8383
} catch (Exception ex) {
8484
Logger.printException(() -> "setNotificationIcon failure", ex);

patches/src/main/resources/custom-branding/drawable/revanced_notification_icon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
android:viewportHeight="24">
88

99
<path
10-
android:fillColor="#000000"
10+
android:fillColor="#FFFFFF"
1111
android:pathData="M4.62891,3.59375 C4.41406,3.59375,4.21875,3.69922,4.10156,3.875 C3.98828,4.05469,3.96875,4.27734,4.05078,4.46875 C5.40234,7.55078,9.88672,17.7891,10.8047,19.8828 C10.9063,20.1094,11.1289,20.2578,11.3789,20.2578 L12.6211,20.2578 C12.8711,20.2578,13.0938,20.1094,13.1953,19.8828 C14.1133,17.7891,18.5977,7.55078,19.9492,4.46875 C20.0313,4.27734,20.0117,4.05469,19.8984,3.875 C19.7813,3.69922,19.5859,3.59375,19.375,3.59375 L18.5625,3.59375 C18.3867,3.59375,18.2227,3.69531,18.1523,3.85938 C17.4375,5.48828,13.668,14.0703,12.4102,16.9375 C12.3398,17.1016,12.1758,17.207,12,17.207 C11.8242,17.207,11.6602,17.1016,11.5898,16.9375 C10.332,14.0703,6.5625,5.48828,5.84766,3.85938 C5.77734,3.69531,5.61328,3.59375,5.4375,3.59375 Z M7.80859,3.59375 C7.61719,3.59375,7.44141,3.69531,7.34375,3.85938 C7.24609,4.02734,7.24609,4.23047,7.34375,4.39844 C8.31641,6.08203,10.5625,9.96875,11.5352,11.6563 C11.6289,11.8203,11.8086,11.9258,12,11.9258 C12.1914,11.9258,12.3672,11.8203,12.4648,11.6563 C13.4375,9.96875,15.6836,6.08203,16.6563,4.39844 C16.75,4.23047,16.75,4.02734,16.6563,3.85938 C16.5586,3.69531,16.3828,3.59375,16.1914,3.59375 Z M7.80859,3.59375" />
1212
</vector>

patches/src/main/resources/custom-branding/drawable/revanced_notification_icon_custom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
android:viewportHeight="24">
88

99
<path
10-
android:fillColor="#000000"
10+
android:fillColor="#FFFFFF"
1111
android:pathData="M4.62891,3.59375 C4.41406,3.59375,4.21875,3.69922,4.10156,3.875 C3.98828,4.05469,3.96875,4.27734,4.05078,4.46875 C5.40234,7.55078,9.88672,17.7891,10.8047,19.8828 C10.9063,20.1094,11.1289,20.2578,11.3789,20.2578 L12.6211,20.2578 C12.8711,20.2578,13.0938,20.1094,13.1953,19.8828 C14.1133,17.7891,18.5977,7.55078,19.9492,4.46875 C20.0313,4.27734,20.0117,4.05469,19.8984,3.875 C19.7813,3.69922,19.5859,3.59375,19.375,3.59375 L18.5625,3.59375 C18.3867,3.59375,18.2227,3.69531,18.1523,3.85938 C17.4375,5.48828,13.668,14.0703,12.4102,16.9375 C12.3398,17.1016,12.1758,17.207,12,17.207 C11.8242,17.207,11.6602,17.1016,11.5898,16.9375 C10.332,14.0703,6.5625,5.48828,5.84766,3.85938 C5.77734,3.69531,5.61328,3.59375,5.4375,3.59375 Z M7.80859,3.59375 C7.61719,3.59375,7.44141,3.69531,7.34375,3.85938 C7.24609,4.02734,7.24609,4.23047,7.34375,4.39844 C8.31641,6.08203,10.5625,9.96875,11.5352,11.6563 C11.6289,11.8203,11.8086,11.9258,12,11.9258 C12.1914,11.9258,12.3672,11.8203,12.4648,11.6563 C13.4375,9.96875,15.6836,6.08203,16.6563,4.39844 C16.75,4.23047,16.75,4.02734,16.6563,3.85938 C16.5586,3.69531,16.3828,3.59375,16.1914,3.59375 Z M7.80859,3.59375" />
1212
</vector>

0 commit comments

Comments
 (0)