Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
26 lines
1 KiB
TypeScript
26 lines
1 KiB
TypeScript
// Module ID: 12666
|
|
// Function ID: 12667
|
|
// Name: presentApplicationWidgetRefreshOutcome
|
|
// Dependencies: [12667, 4557, 9833, 4556, 2]
|
|
// Exports: default
|
|
|
|
// Module 12666 (presentApplicationWidgetRefreshOutcome)
|
|
import ToastUtils from "ToastUtils" /* 4556 */;
|
|
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4557 */;
|
|
import RetryIcon from "RetryIcon" /* 9833 */;
|
|
import applicationWidgetRefreshOutcomeDefault from "applicationWidgetRefreshOutcome" /* 12667 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/application_widget/presentApplicationWidgetRefreshOutcome.native.tsx");
|
|
|
|
export default function presentApplicationWidgetRefreshOutcome(arg0) {
|
|
const tmp3 = applicationWidgetRefreshOutcomeDefault(arg0);
|
|
const text = tmp3.text;
|
|
if (tmp3.ok) {
|
|
const obj2 = { key: "APPLICATION_WIDGET_REFRESH", content: text, IconComponent: RetryIcon.RetryIcon };
|
|
ToastActionCreatorsDefault.open(obj2);
|
|
const tmpResult = ToastActionCreatorsDefault;
|
|
} else {
|
|
ToastUtils.presentError(text);
|
|
}
|
|
};
|