summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-22 15:14:08 +0300
committerPaul Buetow <paul@buetow.org>2025-07-22 15:14:08 +0300
commitaeb772bccd3d29ed5e9d93229af1ea7d158e00d5 (patch)
treed45c0c31a73bd62fe97c663011caae5e1cdb2cf6 /internal
parenta9c82dc7ec525358c3ff417f32f116f760b92a65 (diff)
Reorganize assets and bump version to 0.7.3v0.7.3
- Move totalrecall.desktop, install-icon.sh, and config.yaml.example to assets/ directory - Update all references in README.md and install-icon.sh - Add file organization guidelines to AGENTS.md - Clean up root directory structure 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
Diffstat (limited to 'internal')
-rw-r--r--internal/gui/app.go9
-rw-r--r--internal/version.go2
2 files changed, 8 insertions, 3 deletions
diff --git a/internal/gui/app.go b/internal/gui/app.go
index aa4fb74..cb1ed2d 100644
--- a/internal/gui/app.go
+++ b/internal/gui/app.go
@@ -185,7 +185,7 @@ func New(config *Config) *Application {
// setupUI creates the main user interface
func (a *Application) setupUI() {
- a.window = a.app.NewWindow(fmt.Sprintf("TotalRecall v%s - Bulgarian Flashcard Generator", internal.Version))
+ a.window = a.app.NewWindow("TotalRecall")
a.window.SetIcon(GetAppIcon())
a.window.Resize(fyne.NewSize(880, 770))
@@ -372,8 +372,13 @@ func (a *Application) setupUI() {
a.queueStatusLabel = widget.NewLabel("Queue: Empty")
a.queueStatusLabel.TextStyle = fyne.TextStyle{Italic: true}
+ // Create version label
+ versionLabel := widget.NewLabel(fmt.Sprintf("v%s", internal.Version))
+ versionLabel.TextStyle = fyne.TextStyle{Italic: true}
+ versionLabel.Alignment = fyne.TextAlignTrailing
+
statusSection := container.NewBorder(
- nil, nil, nil, nil,
+ nil, nil, nil, versionLabel,
container.NewVBox(
a.statusLabel,
widget.NewSeparator(),
diff --git a/internal/version.go b/internal/version.go
index a448a34..f4c9657 100644
--- a/internal/version.go
+++ b/internal/version.go
@@ -1,3 +1,3 @@
package internal
-const Version = "0.7.2"
+const Version = "0.7.3"