Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
26 lines
1 KiB
TypeScript
26 lines
1 KiB
TypeScript
// Module ID: 13277
|
|
// Function ID: 13278
|
|
// Name: presentApplicationWidgetRefreshOutcome
|
|
// Dependencies: [13278, 4521, 10522, 4520, 2]
|
|
// Exports: default
|
|
|
|
// Module 13277 (presentApplicationWidgetRefreshOutcome)
|
|
import ToastUtils from "ToastUtils" /* 4520 */;
|
|
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4521 */;
|
|
import RetryIcon from "RetryIcon" /* 10522 */;
|
|
import applicationWidgetRefreshOutcomeDefault from "applicationWidgetRefreshOutcome" /* 13278 */;
|
|
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);
|
|
}
|
|
};
|