fix: preserve compact bookmark text fallback

This commit is contained in:
ajnart committed 2026-09-08 10:25:19 +02:00
1 parent c9caf69bdb
commit 8985899ff1
1 file changed
+3 -2
+3 -2
View File
@@ -40,7 +40,8 @@ export const getBookmarkCardDisplay = ({
orientation = "horizontal";
showTitle = true;
}
const showHostname = advanced || (!hideHostname && plan.showHostname);
let showHostname = advanced || (!hideHostname && plan.showHostname);
if (!advanced && plan.itemHeight <= 32 && showTitle) showHostname = false;
const showIcon = advanced || !hideIcon || (!showTitle && !showHostname);
return { orientation, showHostname, showIcon, showTitle };
@@ -253,7 +254,7 @@ export const getBookmarkDisplayPlan = ({
itemHeight: 32,
itemWidth: width,
orientation: "horizontal",
showHostname: false,
showHostname: widthSettings.showHostname,
showTitle: widthSettings.showTitle,
};
}