decord/source/modules/app_icons/native/SettingsItemAppIcon.tsx

40 lines
1.5 KiB
TypeScript
Raw Normal View History

// Module ID: 15637
// Function ID: 15638
2026-07-20 16:05:17 +00:00
// Name: SettingsItemAppIcon
// Dependencies: [19, 9466, 21, 4638, 576, 13554, 9467, 10964, 15638, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 15637 (SettingsItemAppIcon)
import nativeDefault from "native" /* 576 */;
import AppIconTypes from "AppIconTypes" /* 9467 */;
import AppIconUtils from "AppIconUtils" /* 13554 */;
import AppIconDefault from "AppIcon" /* 15638 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
const ClydeIcon = tmp4(10964);
require = fn;
const getIconById = fn(9466).getIconById;
const jsx = fn(21).jsx;
const createStyles = fn(4638);
let obj2 = { icon: { borderRadius: nativeDefault.radii.round } };
let closure_5 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/app_icons/native/SettingsItemAppIcon.tsx");
2026-07-20 16:05:17 +00:00
export default function SettingsItemAppIcon(color) {
let INTERACTIVE_ICON_DEFAULT = color.color;
if (INTERACTIVE_ICON_DEFAULT === undefined) {
INTERACTIVE_ICON_DEFAULT = nativeDefault.colors.INTERACTIVE_ICON_DEFAULT;
2026-07-20 16:05:17 +00:00
}
const tmp3 = closure_5();
const currentAppIcon = AppIconUtils.useCurrentAppIcon();
if (currentAppIcon !== AppIconTypes.FreemiumAppIconIds.DEFAULT) {
2026-07-29 08:29:29 +00:00
if (null != tmp7) {
const obj2 = { style: tmp3.icon, id: currentAppIcon, size: 32 };
let tmp11 = jsx(AppIconDefault, { style: tmp3.icon, id: currentAppIcon, size: 32 });
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return tmp11;
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
tmp11 = jsx(ClydeIcon.ClydeIcon, { color: INTERACTIVE_ICON_DEFAULT });
2026-07-20 16:05:17 +00:00
};