diff --git a/src/ui/PassphraseInput.svelte b/src/ui/PassphraseInput.svelte
index 9c3c0d1..5923f63 100644
--- a/src/ui/PassphraseInput.svelte
+++ b/src/ui/PassphraseInput.svelte
@@ -4,10 +4,10 @@
export let value = '';
export let placeholder = '';
export let autofocus = false;
+ export let show = false;
let classes = '';
export {classes as class};
- let show = false;
let input;
export function focus() {
diff --git a/src/views/passphrase/EnterPassphrase.svelte b/src/views/passphrase/EnterPassphrase.svelte
index ddb615e..03fc2d6 100644
--- a/src/views/passphrase/EnterPassphrase.svelte
+++ b/src/views/passphrase/EnterPassphrase.svelte
@@ -14,6 +14,7 @@
const dispatch = createEventDispatcher();
+ let showPassphrase = false;
let alert;
let saving = false;
let passphrase = '';
@@ -52,7 +53,6 @@
try {
await alert.run(async () => {
await invoke('set_passphrase', {passphrase})
- throw('something bad happened');
$appState.sessionStatus = 'unlocked';
dispatch('save');
});
@@ -73,6 +73,7 @@
@@ -84,6 +85,7 @@