2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 11658
|
|
|
|
|
// Function ID: 90431
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ApplicationIconAndName
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [33, 4131, 689, 1273, 4127, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 11658 (ApplicationIconAndName)
|
2026-07-23 10:11:24 +00:00
|
|
|
import jsxProd from "jsxProd";
|
|
|
|
|
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
|
|
|
|
|
|
|
|
|
|
let closure_3;
|
|
|
|
|
let closure_4;
|
|
|
|
|
let closure_5;
|
|
|
|
|
({ jsx: closure_3, Fragment: closure_4, jsxs: closure_5 } = jsxProd);
|
|
|
|
|
let closure_6 = _createForOfIteratorHelperLoose.createStyles((width) => {
|
2026-07-20 16:05:17 +00:00
|
|
|
let obj = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { width, height: width, marginTop: -1, marginRight: 4, borderRadius: importDefault(689).radii.xs };
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.gameIcon = obj;
|
|
|
|
|
return obj;
|
|
|
|
|
});
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("modules/user_profile/native/ApplicationIconAndName.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function ApplicationIconAndName(textVariant) {
|
|
|
|
|
let application;
|
|
|
|
|
let iconSize;
|
|
|
|
|
let useComma;
|
|
|
|
|
({ application, iconSize, useComma } = textVariant);
|
|
|
|
|
if (useComma === undefined) {
|
|
|
|
|
useComma = false;
|
|
|
|
|
}
|
|
|
|
|
let obj = {};
|
|
|
|
|
obj = { style: callback(iconSize).gameIcon, resizeMode: "contain" };
|
|
|
|
|
obj = {};
|
|
|
|
|
const iconURL = application.getIconURL(iconSize);
|
|
|
|
|
let str = "";
|
|
|
|
|
if (null != iconURL) {
|
|
|
|
|
str = iconURL;
|
|
|
|
|
}
|
|
|
|
|
obj.uri = str;
|
|
|
|
|
obj.source = obj;
|
|
|
|
|
obj.disableColor = true;
|
2026-07-23 10:11:24 +00:00
|
|
|
const items = [closure_3(require(1273) /* Button */.Icon, obj, application.id), ];
|
2026-07-20 16:05:17 +00:00
|
|
|
const obj1 = { variant: textVariant.textVariant };
|
|
|
|
|
let str2 = "";
|
|
|
|
|
if (useComma) {
|
|
|
|
|
str2 = ", ";
|
|
|
|
|
}
|
|
|
|
|
obj1.children = "" + application.name + str2;
|
2026-07-25 08:10:48 +00:00
|
|
|
items[1] = closure_3(require(4127) /* Text */.Text, obj1);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.children = items;
|
|
|
|
|
return closure_5(closure_4, obj);
|
|
|
|
|
};
|