mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-06 09:56:36 +00:00
Adjust tab height calculations and improve icon state handling in ZenStartup and ZenPinnedTabManager
This commit is contained in:
@@ -369,8 +369,10 @@
|
||||
title: pin.title,
|
||||
triggeringPrincipal_base64: lazy.E10SUtils.SERIALIZED_SYSTEMPRINCIPAL
|
||||
}];
|
||||
if (icon) {
|
||||
if (icon instanceof Ci.nsIURI || typeof icon === "string") {
|
||||
state.image = icon;
|
||||
} else {
|
||||
state.image = null;
|
||||
}
|
||||
state.index = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user