decord/source/modules/app_icons/native/SettingsItemAppIcon.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

45 lines
1.7 KiB
TypeScript

// Module ID: 15446
// Function ID: 15447
// Name: SettingsItemAppIcon
// Dependencies: [19, 9252, 21, 4481, 709, 13291, 9253, 10749, 15447, 2]
// Exports: default
// Module 15446 (SettingsItemAppIcon)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 709 */;
import FreemiumAppIconIds from "FreemiumAppIconIds" /* 9253 */;
import ClydeIcon from "ClydeIcon" /* 10749 */;
import fetchCurrentAppIcon from "fetchCurrentAppIcon" /* 13291 */;
import AppIconDefault from "AppIcon" /* 15447 */;
import { getIconById } from "items" /* 9252 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4481 */;
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 });
};