mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
8 lines
337 B
JavaScript
8 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;
|