decord/alpha/source/modules/application_widget/presentApplicationWidgetRefreshOutcome.native.tsx
github-actions 72019a2d0c chore: update source for alpha 348.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-25 08:38:05 +00:00

26 lines
1 KiB
TypeScript

// Module ID: 12436
// Function ID: 12437
// Name: presentApplicationWidgetRefreshOutcome
// Dependencies: [12437, 4525, 9629, 4524, 2]
// Exports: default
// Module 12436 (presentApplicationWidgetRefreshOutcome)
import ToastUtils from "ToastUtils" /* 4524 */;
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4525 */;
import RetryIcon from "RetryIcon" /* 9629 */;
import applicationWidgetRefreshOutcomeDefault from "applicationWidgetRefreshOutcome" /* 12437 */;
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);
}
};