decord/source/modules/app_icons/native/SettingsItemAppIcon.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

39 lines
1.5 KiB
TypeScript

// Module ID: 15604
// Function ID: 15605
// Name: SettingsItemAppIcon
// Dependencies: [19, 9393, 21, 4605, 576, 13439, 9394, 10888, 15605, 2]
// Exports: default
// Module 15604 (SettingsItemAppIcon)
import nativeDefault from "native" /* 576 */;
import AppIconTypes from "AppIconTypes" /* 9394 */;
import AppIconUtils from "AppIconUtils" /* 13439 */;
import AppIconDefault from "AppIcon" /* 15605 */;
import noop from "module_19" /* 19 */;
const ClydeIcon = tmp4(10888);
require = fn;
const getIconById = fn(9393).getIconById;
const jsx = fn(21).jsx;
const createStyles = fn(4605);
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");
export default function SettingsItemAppIcon(color) {
let INTERACTIVE_ICON_DEFAULT = color.color;
if (INTERACTIVE_ICON_DEFAULT === undefined) {
INTERACTIVE_ICON_DEFAULT = nativeDefault.colors.INTERACTIVE_ICON_DEFAULT;
}
const tmp3 = closure_5();
const currentAppIcon = AppIconUtils.useCurrentAppIcon();
if (currentAppIcon !== AppIconTypes.FreemiumAppIconIds.DEFAULT) {
if (null != tmp7) {
const obj2 = { style: tmp3.icon, id: currentAppIcon, size: 32 };
let tmp11 = jsx(AppIconDefault, { style: tmp3.icon, id: currentAppIcon, size: 32 });
}
return tmp11;
}
tmp11 = jsx(ClydeIcon.ClydeIcon, { color: INTERACTIVE_ICON_DEFAULT });
};