2026-09-28 16:18:32 +00:00
|
|
|
// Module ID: 16788
|
|
|
|
|
// Function ID: 16789
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: updateVisualRefresh
|
2026-09-28 16:18:32 +00:00
|
|
|
// Dependencies: [17, 1364, 14000, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: updateVisualRefresh
|
|
|
|
|
|
2026-09-28 16:18:32 +00:00
|
|
|
// Module 16788 (updateVisualRefresh)
|
2026-10-01 14:13:23 +00:00
|
|
|
import react_native from "react-native" /* 17 */;
|
|
|
|
|
import PlatformUtils from "PlatformUtils" /* 1364 */;
|
|
|
|
|
import react_nativeDefault from "react-native" /* 14000 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
2026-10-01 14:13:23 +00:00
|
|
|
const NativeModules = react_native.NativeModules;
|
2026-09-18 19:45:33 +00:00
|
|
|
let result = size.fileFinishedImporting("modules/themes/native/updateVisualRefresh.tsx");
|
|
|
|
|
|
|
|
|
|
export const updateVisualRefresh = function updateVisualRefresh(arg0) {
|
2026-10-01 14:13:23 +00:00
|
|
|
let result;
|
|
|
|
|
const obj = PlatformUtils;
|
2026-09-18 19:45:33 +00:00
|
|
|
if (obj.isAndroid()) {
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj2 = react_nativeDefault;
|
|
|
|
|
result = obj2.setVisualRefreshEnabled(arg0);
|
2026-09-18 19:45:33 +00:00
|
|
|
} else {
|
|
|
|
|
const DCDTheme = NativeModules.DCDTheme;
|
|
|
|
|
result = DCDTheme.setVisualRefreshEnabled(arg0);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
};
|