28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
// Module ID: 12700
|
|
// Function ID: 12701
|
|
// Name: presentApplicationWidgetRefreshOutcome
|
|
// Dependencies: [12701, 4568, 11364, 4567, 2]
|
|
// Exports: default
|
|
|
|
// Module 12700 (presentApplicationWidgetRefreshOutcome)
|
|
import ToastUtils from "ToastUtils" /* 4567 */;
|
|
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4568 */;
|
|
import RetryIcon from "RetryIcon" /* 11364 */;
|
|
import applicationWidgetRefreshOutcomeDefault from "applicationWidgetRefreshOutcome" /* 12701 */;
|
|
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 };
|
|
const open = tmp(4568).open;
|
|
ToastActionCreatorsDefault;
|
|
open(obj2);
|
|
} else {
|
|
const obj = ToastUtils;
|
|
obj.presentError(text);
|
|
}
|
|
};
|