refactor: pass the month view's sizing a plain boolean

This commit is contained in:
Linus Rath
2026-11-03 14:15:45 +01:00
parent 4d244aad0a
commit e79d4e1aad
+1 -1
View File
@@ -117,7 +117,7 @@ export function CalendarMonthView({
// into full entries via "Show time in month view" (#666).
const showChips = !isMobile || showTimeInMonthView;
const textScale = FONT_SIZE_SCALE[useSettingsStore((state) => state.fontSize)] ?? 1;
const { overlayTop, rowHeight, chipHeight, baseRowMinHeight } = monthGridMetrics(isMobile, textScale);
const { overlayTop, rowHeight, chipHeight, baseRowMinHeight } = monthGridMetrics(Boolean(isMobile), textScale);
const {
dayHeaderKeys,
getMonthGridDays,