Safari Accent color icon

This commit is contained in:
ruukulada 2023-09-03 23:05:06 -04:00
parent bf7aa6473e
commit ff0021cead
7 changed files with 3 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -180,10 +180,11 @@ export class UpdateBadge {
}
async setBadgeIcon(iconSuffix: string, windowId?: number) {
const safariSuffix = BrowserPlatformUtilsService.isSafari(this.win) ? "_transparent" : "";
const options: IconDetails = {
path: {
19: "/images/icon19" + iconSuffix + ".png",
38: "/images/icon38" + iconSuffix + ".png",
19: "/images/icon19" + iconSuffix + safariSuffix + ".png",
38: "/images/icon38" + iconSuffix + safariSuffix + ".png",
},
};
if (windowId && BrowserPlatformUtilsService.isFirefox()) {