decord/beta/source/modules/themes/UIDensityConstants.tsx
github-actions 9b6fea255e chore: update source for beta 346.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-18 19:45:33 +00:00

27 lines
913 B
TypeScript

// Module ID: 9768
// Function ID: 9769
// Name: UIDensityConstants
// Dependencies: [1185, 2]
// Exports: resolveUIDensity
// Module 9768 (UIDensityConstants)
import preloaded_user_settings from "preloaded_user_settings" /* 1185 */;
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(1185).UIDensity.COZY === arg0) {
return "cozy";
} else if (tmp(1185).UIDensity.DEFAULT === arg0) {
return "default";
} else if (tmp(1185).UIDensity.COMPACT === arg0) {
return "compact";
} else {
return "default";
}
};