diff options
| author | Paul Buetow <paul@buetow.org> | 2024-01-25 20:08:35 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-01-25 20:08:35 +0200 |
| commit | 486c30caa878b2e56b80feb24e3fe2b036a50c64 (patch) | |
| tree | 43e3368a7fd522f6f9689ac9ebb0007016299d64 /main.go | |
| parent | ab1724a2d80114889e4efcbb871087b80382555f (diff) | |
initial preferences
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,9 +14,11 @@ import ( func main() { a := app.NewWithID("org.buetow.quicklogger") + a.Preferences().SetString("Directory", "/storage/emulated/0/Notes/Vault") w := a.NewWindow("Quick logger") + // Same dir as my Obsidian - storageDir := "/storage/emulated/0/Notes/Vault" + storageDir := a.Preferences().String("Directory") input := widget.NewMultiLineEntry() input.SetPlaceHolder("Enter text here!") |
