diff --git a/package.json b/package.json index 9d4a160..3dfd662 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.3.3", + "version": "1.3.4", "name": "@perawallet/connect", "description": "JavaScript SDK for integrating Pera Wallet to web applications.", "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 = `