decord/source/modules/app_icons/native/SettingsItemAppIcon.tsx
2026-08-12 06:57:52 +00:00

39 lines
1.4 KiB
TypeScript

// Module ID: 14778
// Function ID: 14779
// Name: SettingsItemAppIcon
// Dependencies: [19, 7703, 21, 4344, 712, 7702, 7704, 9579, 14779, 2]
// Exports: default
// Module 14778 (SettingsItemAppIcon)
import "noop";
import { getIconById } from "items";
import { jsx } from "jsxProd";
import createCacheKey from "createCacheKey";
const require = arg1;
createCacheKey = { icon: null };
createCacheKey = { borderRadius: require("Themes").radii.round };
createCacheKey[0] = createCacheKey;
createCacheKey = createCacheKey.createStyles(createCacheKey);
const result = require("jsxProd").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 = importDefault(712).colors.INTERACTIVE_ICON_DEFAULT;
}
let obj = require(7702) /* fetchCurrentAppIcon */;
const currentAppIcon = obj.useCurrentAppIcon();
const tmp3 = createCacheKey();
const tmp4 = require;
if (currentAppIcon !== require(7704) /* FreemiumAppIconIds */.FreemiumAppIconIds.DEFAULT) {
if (null != tmp7) {
obj = { style: null, id: null, size: 32 };
obj[0] = tmp3.icon;
obj[1] = currentAppIcon;
let tmp11 = jsx(importDefault(14779), { style: null, id: null, size: 32 });
}
return tmp11;
}
tmp11 = jsx(tmp4(9579).ClydeIcon, { color: INTERACTIVE_ICON_DEFAULT });
};