mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-19 07:09:56 +00:00
remove old code, add german lang
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user