mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-26 08:39:06 +02:00
Apply gofmt
This commit is contained in:
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user