chore: clean up

This commit is contained in:
reya
2024-08-28 08:48:17 +07:00
parent f6eb5eea44
commit d128af1db8
27 changed files with 311 additions and 741 deletions

View File

@@ -114,7 +114,7 @@ export const LumeWindow = {
throw new Error(query.error);
}
},
openZap: async (id: string) => {
openZap: async (id: string, account?: string) => {
const wallet = await commands.loadWallet();
if (wallet.status === "ok") {
@@ -129,7 +129,7 @@ export const LumeWindow = {
hidden_title: true,
});
} else {
await LumeWindow.openSettings("bitcoin-connect");
await LumeWindow.openSettings(account, "bitcoin-connect");
}
},
openSettings: async (account: string, path?: string) => {