decord/source/modules/app_icons/native/SettingsItemAppIcon.tsx
2026-07-30 10:14:41 +00:00

39 lines
1.4 KiB
TypeScript

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