2026-10-13 12:43:34 +00:00
|
|
|
// Module ID: 11501
|
|
|
|
|
// Function ID: 11502
|
2026-09-19 06:52:51 +00:00
|
|
|
// Name: presentApplicationWidgetRefreshOutcome
|
2026-10-13 12:43:34 +00:00
|
|
|
// Dependencies: [11502, 4809, 11303, 4808, 2]
|
2026-09-19 06:52:51 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-13 12:43:34 +00:00
|
|
|
// Module 11501 (presentApplicationWidgetRefreshOutcome)
|
2026-10-10 08:08:14 +00:00
|
|
|
import ToastUtils from "ToastUtils" /* 4808 */;
|
|
|
|
|
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4809 */;
|
2026-10-13 12:43:34 +00:00
|
|
|
import RetryIcon from "RetryIcon" /* 11303 */;
|
|
|
|
|
import applicationWidgetRefreshOutcomeDefault from "applicationWidgetRefreshOutcome" /* 11502 */;
|
2026-09-19 06:52:51 +00:00
|
|
|
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) {
|
2026-10-10 08:08:14 +00:00
|
|
|
const obj2 = { text, icon: RetryIcon.RetryIcon };
|
|
|
|
|
const open = tmp(4809).open;
|
2026-10-03 08:58:59 +00:00
|
|
|
ToastActionCreatorsDefault;
|
2026-10-10 08:08:14 +00:00
|
|
|
open("APPLICATION_WIDGET_REFRESH", obj2);
|
2026-09-19 06:52:51 +00:00
|
|
|
} else {
|
2026-10-03 08:58:59 +00:00
|
|
|
const obj = ToastUtils;
|
|
|
|
|
obj.presentError(text);
|
2026-09-19 06:52:51 +00:00
|
|
|
}
|
|
|
|
|
};
|