Apply gofmt

This commit is contained in:
Zoltán Papp
2026-06-12 15:32:51 +02:00
parent 47ecc41bf4
commit 381532d166
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -9,8 +9,8 @@ import (
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"google.golang.org/protobuf/types/known/timestamppb" "google.golang.org/protobuf/types/known/timestamppb"
cProto "github.com/netbirdio/netbird/client/proto"
"github.com/netbirdio/netbird/client/internal/auth/sessionwatch" "github.com/netbirdio/netbird/client/internal/auth/sessionwatch"
cProto "github.com/netbirdio/netbird/client/proto"
"github.com/netbirdio/netbird/client/system" "github.com/netbirdio/netbird/client/system"
) )
+10 -10
View File
@@ -145,17 +145,17 @@ func DialogWindowOptions(name, title, url string, linuxIcon []byte) application.
// than hiding means the macOS dock-reopen handler doesn't find a hidden // than hiding means the macOS dock-reopen handler doesn't find a hidden
// window to resurrect. // window to resurrect.
type WindowManager struct { type WindowManager struct {
app *application.App app *application.App
mainWindow *application.WebviewWindow mainWindow *application.WebviewWindow
translator ErrorTranslator translator ErrorTranslator
prefs LanguagePreference prefs LanguagePreference
linuxIcon []byte linuxIcon []byte
settings *application.WebviewWindow settings *application.WebviewWindow
browserLogin *application.WebviewWindow browserLogin *application.WebviewWindow
sessionExpiration *application.WebviewWindow sessionExpiration *application.WebviewWindow
installProgress *application.WebviewWindow installProgress *application.WebviewWindow
welcome *application.WebviewWindow welcome *application.WebviewWindow
errorDialog *application.WebviewWindow errorDialog *application.WebviewWindow
// hiddenForLogin remembers windows that were visible when the // hiddenForLogin remembers windows that were visible when the
// BrowserLogin popup opened. They were Hide()n to keep focus on the // BrowserLogin popup opened. They were Hide()n to keep focus on the
// SSO flow without resorting to AlwaysOnTop, and are restored when // SSO flow without resorting to AlwaysOnTop, and are restored when