2026-09-10 05:38:07 +00:00
|
|
|
// Module ID: 16700
|
|
|
|
|
// Function ID: 16701
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getScaledChannelRowHeight
|
2026-09-10 05:38:07 +00:00
|
|
|
// Dependencies: [16698, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 16700 (getScaledChannelRowHeight)
|
|
|
|
|
import getLayoutStylesDefault from "getLayoutStyles" /* 16698 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/launchpad/native/shared/getScaledChannelRowHeight.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getScaledChannelRowHeight(arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const tmp = getLayoutStylesDefault();
|
2026-07-20 16:05:17 +00:00
|
|
|
return Math.max(Math.max(arg0, 1) * (tmp.channelName.height + (tmp.messagePreview.margin.marginTop + tmp.messagePreview.height)), tmp.icon.wrapper.size) + 2 * tmp.container.padding.paddingVertical + 2 * tmp.layout.margin.marginVertical + 4;
|
|
|
|
|
};
|