27 lines
935 B
TypeScript
27 lines
935 B
TypeScript
// Module ID: 14001
|
|
// Function ID: 14002
|
|
// Name: updateSaturation
|
|
// Dependencies: [17, 1370, 14002, 2]
|
|
// Exports: updateSaturation
|
|
|
|
// Module 14001 (updateSaturation)
|
|
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/updateSaturation.tsx");
|
|
|
|
export const updateSaturation = function updateSaturation(saturation) {
|
|
let updateSaturationResult;
|
|
const obj = PlatformUtils;
|
|
if (obj.isAndroid()) {
|
|
const obj2 = react_nativeDefault;
|
|
updateSaturationResult = obj2.updateSaturation(saturation);
|
|
} else {
|
|
const DCDTheme = NativeModules.DCDTheme;
|
|
updateSaturationResult = DCDTheme.updateSaturation(saturation);
|
|
}
|
|
return updateSaturationResult;
|
|
};
|