decord/source/modules/app_icons/native/SettingsItemAppIcon.tsx
2026-08-06 08:05:19 +00:00

39 lines
1.4 KiB
TypeScript

// Module ID: 14622
// Function ID: 14623
// Name: SettingsItemAppIcon
// Dependencies: [19, 7583, 21, 4285, 712, 7582, 7584, 9451, 14623, 2]
// Exports: default
// Module 14622 (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(7582) /* fetchCurrentAppIcon */;
const currentAppIcon = obj.useCurrentAppIcon();
const tmp3 = createCacheKey();
const tmp4 = require;
if (currentAppIcon !== require(7584) /* FreemiumAppIconIds */.FreemiumAppIconIds.DEFAULT) {
if (null != tmp7) {
obj = { style: null, id: null, size: 32 };
obj[0] = tmp3.icon;
obj[1] = currentAppIcon;
let tmp11 = jsx(importDefault(14623), { style: null, id: null, size: 32 });
}
return tmp11;
}
tmp11 = jsx(tmp4(9451).ClydeIcon, { color: INTERACTIVE_ICON_DEFAULT });
};