We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 776ab6f commit b9f85bcCopy full SHA for b9f85bc
extensions/shared/library/src/main/java/app/revanced/extension/shared/patches/CustomBrandingPatch.java
@@ -4,6 +4,7 @@
4
import android.content.ComponentName;
5
import android.content.Context;
6
import android.content.pm.PackageManager;
7
+import android.graphics.Color;
8
9
import java.util.ArrayList;
10
import java.util.List;
@@ -83,7 +84,8 @@ private int getNotificationIcon() {
83
84
public static void setNotificationIcon(Notification.Builder builder) {
85
try {
86
if (notificationSmallIcon != 0) {
- builder.setSmallIcon(notificationSmallIcon);
87
+ builder.setSmallIcon(notificationSmallIcon)
88
+ .setColor(Color.WHITE);
89
}
90
} catch (Exception ex) {
91
Logger.printException(() -> "setNotificationIcon failure", ex);
0 commit comments