diff --git a/package.json b/package.json index f2bf4f6378..181fc4e34d 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "dependencies": { "@bitcoin-design/bitcoin-icons-react": "^0.1.10", "@bitcoinerlab/secp256k1": "^1.0.5", - "@getalby/sdk": "^3.2.3", + "@getalby/sdk": "^3.3.0", "@headlessui/react": "^1.7.18", "@lightninglabs/lnc-web": "^0.2.4-alpha", "@noble/curves": "^1.3.0", diff --git a/src/app/components/AccountMenu/index.tsx b/src/app/components/AccountMenu/index.tsx index 83e9c46dd5..f479035c39 100644 --- a/src/app/components/AccountMenu/index.tsx +++ b/src/app/components/AccountMenu/index.tsx @@ -127,7 +127,7 @@ function AccountMenu({ showOptions = true }: Props) { openOptions(`accounts/${authAccount?.id}`); }} > - + {t("options.account.account_settings")} {(isAlbyLNDHubAccount( @@ -140,7 +140,7 @@ function AccountMenu({ showOptions = true }: Props) { window.open(`https://getalby.com/user`, "_blank"); }} > - + {t("options.account.go_to_web_wallet")} → )} diff --git a/src/app/components/Menu/MenuItemButton.tsx b/src/app/components/Menu/MenuItemButton.tsx index 4d93be5f9a..fe2d300e51 100644 --- a/src/app/components/Menu/MenuItemButton.tsx +++ b/src/app/components/Menu/MenuItemButton.tsx @@ -21,7 +21,7 @@ function MenuItemButton({ className={classNames( active ? "bg-gray-50 dark:bg-surface-02dp" : "", disabled ? "cursor-not-allowed" : "cursor-pointer", - "flex items-center w-full p-4 text-sm text-gray-800 dark:text-neutral-200" + "flex items-center w-full p-4 text-sm text-gray-800 dark:text-neutral-200 whitespace-nowrap" )} disabled={disabled} onClick={onClick} diff --git a/src/app/components/mnemonic/MnemonicInputs/index.tsx b/src/app/components/mnemonic/MnemonicInputs/index.tsx index af59088849..20a74a6600 100644 --- a/src/app/components/mnemonic/MnemonicInputs/index.tsx +++ b/src/app/components/mnemonic/MnemonicInputs/index.tsx @@ -27,6 +27,9 @@ export default function MnemonicInputs({ while (words.length < 12) { words.push(""); } + while (words.length > 12) { + words.pop(); + } return (
diff --git a/src/app/screens/ConfirmRequestPermission/index.tsx b/src/app/screens/ConfirmRequestPermission/index.tsx index db8acf1c53..563dd5aeb7 100644 --- a/src/app/screens/ConfirmRequestPermission/index.tsx +++ b/src/app/screens/ConfirmRequestPermission/index.tsx @@ -65,24 +65,23 @@ const ConfirmRequestPermission: FC = () => {

)}
- -
- setAlwaysAllow((prev) => !prev)} - /> - -
+
+ setAlwaysAllow((prev) => !prev)} + /> + +