The very basic client app, not adapted for mobiles.
Some checks failed
Linting and tests / Linting (push) Failing after 5s
Linting and tests / Tests (push) Failing after 4s

This commit is contained in:
2025-09-10 19:34:49 +05:00
parent b65b8a9e72
commit e3b9c9ae40
50 changed files with 2816 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package mainwindow
import (
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/lang"
)
func (m *mainWindow) AddTab(tab *container.TabItem) {
if len(m.tabs.Items) == 1 && m.tabs.Items[0].Text == lang.L("window.lorem_ipsum.tab_name") {
m.tabs.Remove(m.tabs.Items[0])
}
m.tabs.Append(tab)
}