2026-10-02 13:37:24 +00:00
|
|
|
// Module ID: 14001
|
|
|
|
|
// Function ID: 14002
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: updateSaturation
|
2026-10-02 13:37:24 +00:00
|
|
|
// Dependencies: [17, 1370, 14002, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: updateSaturation
|
|
|
|
|
|
2026-10-02 13:37:24 +00:00
|
|
|
// Module 14001 (updateSaturation)
|
2026-10-01 14:13:23 +00:00
|
|
|
import react_native from "react-native" /* 17 */;
|
2026-10-02 13:37:24 +00:00
|
|
|
import PlatformUtils from "PlatformUtils" /* 1370 */;
|
|
|
|
|
import react_nativeDefault from "react-native" /* 14002 */;
|
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
|
|
|
const result = size.fileFinishedImporting("modules/themes/native/updateSaturation.tsx");
|
|
|
|
|
|
|
|
|
|
export const updateSaturation = function updateSaturation(saturation) {
|
2026-10-01 14:13:23 +00:00
|
|
|
let updateSaturationResult;
|
|
|
|
|
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;
|
|
|
|
|
updateSaturationResult = obj2.updateSaturation(saturation);
|
2026-09-18 19:45:33 +00:00
|
|
|
} else {
|
|
|
|
|
const DCDTheme = NativeModules.DCDTheme;
|
|
|
|
|
updateSaturationResult = DCDTheme.updateSaturation(saturation);
|
|
|
|
|
}
|
|
|
|
|
return updateSaturationResult;
|
|
|
|
|
};
|