decord/source/modules/themes/UIDensityConstants.tsx
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

27 lines
913 B
TypeScript

// Module ID: 9731
// Function ID: 9732
// Name: UIDensityConstants
// Dependencies: [1187, 2]
// Exports: resolveUIDensity
// Module 9731 (UIDensityConstants)
import preloaded_user_settings from "preloaded_user_settings" /* 1187 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/themes/UIDensityConstants.tsx");
export const RESPONSIVE_DENSITY_MEDIA_QUERY = "(min-width: 1024px) and (min-height: 820px)";
export const RESPONSIVE_DENSITY_FALLBACK = "cozy";
export const resolveUIDensity = function resolveUIDensity(arg0, arg1) {
if (preloaded_user_settings.UIDensity.RESPONSIVE === arg0) {
return arg1;
} else if (tmp(1187).UIDensity.COZY === arg0) {
return "cozy";
} else if (tmp(1187).UIDensity.DEFAULT === arg0) {
return "default";
} else if (tmp(1187).UIDensity.COMPACT === arg0) {
return "compact";
} else {
return "default";
}
};