diff --git a/package-lock.json b/package-lock.json index 7f0a49a..ac8e735 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@perawallet/connect-beta", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@perawallet/connect-beta", - "version": "1.0.7", + "version": "1.0.8", "license": "ISC", "dependencies": { "@evanhahn/lottie-web-light": "5.8.1", diff --git a/package.json b/package.json index 4ddcdcd..1398ea0 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.7", + "version": "1.0.8", "name": "@perawallet/connect-beta", "description": "Beta version of Pera Wallet Connect", "main": "dist/index.js", diff --git a/src/modal/PeraWalletConnectModal.ts b/src/modal/PeraWalletConnectModal.ts index 633458d..760c58e 100644 --- a/src/modal/PeraWalletConnectModal.ts +++ b/src/modal/PeraWalletConnectModal.ts @@ -1,5 +1,4 @@ import {isMobile} from "../util/device/deviceUtils"; -import {isSmallScreen} from "../util/screen/screenSizeUtils"; import { PERA_WALLET_CONNECT_MODAL_ID, PERA_WALLET_MODAL_CLASSNAME @@ -27,7 +26,7 @@ export class PeraWalletConnectModal extends HTMLElement { peraWalletConnectModalClassNames = `${peraWalletConnectModalClassNames} ${PERA_WALLET_MODAL_CLASSNAME}--compact`; } - if (isSmallScreen() && isMobile()) { + if (isMobile()) { peraWalletConnectModal.innerHTML = `