remove old code, add german lang

This commit is contained in:
Eduard Gert
2026-05-15 12:56:09 +02:00
parent 17cae1a75c
commit 5411fa4350
25 changed files with 175 additions and 827 deletions

View File

@@ -162,9 +162,14 @@ func main() {
app.RegisterService(application.NewService(services.NewI18n(bundle)))
app.RegisterService(application.NewService(services.NewPreferences(prefStore)))
// Initial size matches AppearanceContext's default `expanded: false`
// (small / simple view). When the user has previously expanded the
// window, Header.tsx's mount effect resizes back up to 925 via
// Window.SetSize — that's a one-shot grow rather than a shrink, which
// reads better than starting wide and snapping narrow on every launch.
window := app.Window.NewWithOptions(application.WebviewWindowOptions{
Title: "NetBird",
Width: 925,
Width: 380,
Height: 615,
Hidden: true,
BackgroundColour: application.NewRGB(24, 26, 29),