decord/source/modules/app_icons/native/SettingsItemAppIcon.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

45 lines
1.7 KiB
TypeScript

// Module ID: 15525
// Function ID: 15526
// Name: SettingsItemAppIcon
// Dependencies: [19, 9328, 21, 4560, 576, 13367, 9329, 10823, 15526, 2]
// Exports: default
// Module 15525 (SettingsItemAppIcon)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 576 */;
import FreemiumAppIconIds from "FreemiumAppIconIds" /* 9329 */;
import ClydeIcon from "ClydeIcon" /* 10823 */;
import fetchCurrentAppIcon from "fetchCurrentAppIcon" /* 13367 */;
import AppIconDefault from "AppIcon" /* 15526 */;
import { getIconById } from "items" /* 9328 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
require = arg1;
noopAll;
createCacheKey = { icon: null };
createCacheKey = { borderRadius: ThemesDefault.radii.round };
createCacheKey[0] = createCacheKey;
let closure_5 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/app_icons/native/SettingsItemAppIcon.tsx");
export default function SettingsItemAppIcon(color) {
let INTERACTIVE_ICON_DEFAULT = color.color;
if (INTERACTIVE_ICON_DEFAULT === undefined) {
INTERACTIVE_ICON_DEFAULT = ThemesDefault.colors.INTERACTIVE_ICON_DEFAULT;
}
let obj = fetchCurrentAppIcon;
const currentAppIcon = obj.useCurrentAppIcon();
const tmp3 = callback();
const tmp4 = require;
if (currentAppIcon !== FreemiumAppIconIds.FreemiumAppIconIds.DEFAULT) {
if (null != tmp7) {
obj = { style: null, id: null, size: 32 };
obj[0] = tmp3.icon;
obj[1] = currentAppIcon;
let tmp11 = jsx(AppIconDefault, { style: null, id: null, size: 32 });
}
return tmp11;
}
tmp11 = jsx(ClydeIcon.ClydeIcon, { color: INTERACTIVE_ICON_DEFAULT });
};