Files
discord-decomp/sources/modules/launchpad/native/shared/getScaledChannelRowHeight.tsx
T
2026-07-28 01:06:53 +03:00

23 lines
1.6 KiB
TypeScript

/* Metro module 15335; source: modules/launchpad/native/shared/getScaledChannelRowHeight.tsx; dependencies: [15332, 2] */
import GetLayoutStyles from './getLayoutStyles.tsx'; /* Metro dependency 15332 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun117262(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#117262, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15532:6, offset: 0x024abc1a, size: 99 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/launchpad/native/shared/getScaledChannelRowHeight.tsx');
exports.default = getScaledChannelRowHeight_117263;
function getScaledChannelRowHeight_117263(a0) { // fn#117263, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15532:197, offset: 0x024abc7d, size: 199 bytes, params: 2, frame: 16
const value = (GetLayoutStyles)();
const Math = global.Math;
const max = Math.max;
const Math2 = global.Math;
return Reflect.apply(max, Math, [Math2.max(a0,
1) * (value.channelName.height + (value.messagePreview.margin.marginTop + value.messagePreview.height)),
value.icon.wrapper.size]) + 2 * value.container.padding.paddingVertical + 2 * value.layout.margin.marginVertical + 4;
}
}
global.__d(_fun117262, 15335, [15332, 2]) /* metro module 15335, dependencies: [15332, 2] */;