diff --git a/dist/index.html b/dist/nvAux.html similarity index 100% rename from dist/index.html rename to dist/nvAux.html diff --git a/src/lib/IconSettings.svelte b/src/lib/IconSettings.svelte index 796c639..39c3b5d 100644 --- a/src/lib/IconSettings.svelte +++ b/src/lib/IconSettings.svelte @@ -1,7 +1,7 @@ { await $selectedNote.update({ $set: { - body: $bodyText, + body: $selectedNote.body, updatedAt: new Date().getTime(), }, }); @@ -35,7 +35,7 @@ {/if} diff --git a/src/lib/OmniBar.svelte b/src/lib/OmniBar.svelte index eea772d..a138eac 100644 --- a/src/lib/OmniBar.svelte +++ b/src/lib/OmniBar.svelte @@ -11,7 +11,7 @@ import { omniMode, omniText, selectedNote, db } from './store'; - let omniInput; + let omniInput, showMenu; onMount(() => omniInput.focus()); @@ -42,15 +42,39 @@ }) .then(() => document.getElementById('body-editor').focus()); }; + + const toggleMenu = () => { + showMenu = !showMenu; + }; -
+
-
- +
+ + {#if showMenu} +
    +
  • About nvAux
  • +
  • Leave Feedback...
  • +
  • + +
  • Import
  • +
  • Export (.zip)
  • +
  • +
  • Reset Database
  • +
+ {/if}