BlueWallet/blue_modules/environment.js
2021-05-29 01:57:40 -04:00

8 lines
279 B
JavaScript

import { getSystemName, isTablet, getDeviceType } from 'react-native-device-info';
const isMacCatalina = getSystemName() === 'Mac OS X';
module.exports.isMacCatalina = isMacCatalina;
module.exports.isDesktop = getDeviceType() === 'Desktop';
module.exports.isTablet = isTablet;