mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
8 lines
279 B
JavaScript
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;
|