decord/stable/source/modules/themes/native/updateTheme.tsx
2026-10-06 22:12:49 +00:00

27 lines
857 B
TypeScript

// Module ID: 16791
// Function ID: 16792
// Name: updateTheme
// Dependencies: [17, 1370, 14002, 2]
// Exports: updateTheme
// Module 16791 (updateTheme)
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 */;
const NativeModules = react_native.NativeModules;
const result = size.fileFinishedImporting("modules/themes/native/updateTheme.tsx");
export const updateTheme = function updateTheme(arg0) {
let updateThemeResult;
const obj = PlatformUtils;
if (obj.isAndroid()) {
const obj2 = react_nativeDefault;
updateThemeResult = obj2.updateTheme(arg0);
} else {
const DCDTheme = NativeModules.DCDTheme;
updateThemeResult = DCDTheme.updateTheme(arg0);
}
return updateThemeResult;
};