BlueWallet/blue_modules/environment.js
2020-12-27 23:36:46 +00:00

8 lines
251 B
JavaScript

import { getSystemName } from 'react-native-device-info';
import isCatalyst from 'react-native-is-catalyst';
const isMacCatalina = getSystemName() === 'Mac OS X';
module.exports.isMacCatalina = isMacCatalina;
module.exports.isCatalyst = isCatalyst;