2
0
mirror of https://github.com/status-im/MyCrypto.git synced 2025-02-24 08:48:31 +00:00
HenryNguyen5 da93fb1684 Prettier Reformat ()
* Add repo wide prettier command to prepush

* Make config file explict, remove formatAll to prepush
2017-12-18 17:29:26 -06:00

5 lines
144 B
TypeScript

const isMobile =
window && window.navigator ? /iPhone|iPad|iPod|Android/i.test(window.navigator.userAgent) : false;
export default isMobile;