decord/stable/source/modules/themes/native/updateVisualRefresh.tsx

28 lines
883 B
TypeScript
Raw Permalink Normal View History

2026-10-06 22:12:49 +00:00
// Module ID: 16790
// Function ID: 16791
// Name: updateVisualRefresh
2026-10-06 22:12:49 +00:00
// Dependencies: [17, 1370, 14002, 2]
// Exports: updateVisualRefresh
2026-10-06 22:12:49 +00:00
// Module 16790 (updateVisualRefresh)
import react_native from "react-native" /* 17 */;
import PlatformUtils from "PlatformUtils" /* 1370 */;
import react_nativeDefault from "react-native" /* 14002 */;
import size from "module_2" /* 2 */;
2026-10-06 22:12:49 +00:00
const NativeModules = react_native.NativeModules;
let result = size.fileFinishedImporting("modules/themes/native/updateVisualRefresh.tsx");
export const updateVisualRefresh = function updateVisualRefresh(arg0) {
2026-10-06 22:12:49 +00:00
let result;
const obj = PlatformUtils;
if (obj.isAndroid()) {
2026-10-06 22:12:49 +00:00
const obj2 = react_nativeDefault;
result = obj2.setVisualRefreshEnabled(arg0);
} else {
const DCDTheme = NativeModules.DCDTheme;
result = DCDTheme.setVisualRefreshEnabled(arg0);
}
return result;
};