mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 02:09:10 +01:00
9 lines
337 B
JavaScript
9 lines
337 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.isHandset = getDeviceType() === 'Handset';
|
|
module.exports.isTablet = isTablet;
|