Safari Accent color icon
This commit is contained in:
parent
bf7aa6473e
commit
ff0021cead
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 |
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue