mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-30 19:41:30 +02:00
tray: use yellow connecting dot for needs-login state
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 537 B |
Binary file not shown.
|
Before Width: | Height: | Size: 641 B |
Binary file not shown.
|
Before Width: | Height: | Size: 475 B |
@@ -16,9 +16,6 @@ var iconMenuDotConnected []byte
|
||||
//go:embed assets/netbird-menu-dot-connecting-22.png
|
||||
var iconMenuDotConnecting []byte
|
||||
|
||||
//go:embed assets/netbird-menu-dot-login-22.png
|
||||
var iconMenuDotLogin []byte
|
||||
|
||||
//go:embed assets/netbird-menu-dot-error-22.png
|
||||
var iconMenuDotError []byte
|
||||
|
||||
|
||||
@@ -18,9 +18,6 @@ var iconMenuDotConnected []byte
|
||||
//go:embed assets/netbird-menu-dot-connecting.png
|
||||
var iconMenuDotConnecting []byte
|
||||
|
||||
//go:embed assets/netbird-menu-dot-login.png
|
||||
var iconMenuDotLogin []byte
|
||||
|
||||
//go:embed assets/netbird-menu-dot-error.png
|
||||
var iconMenuDotError []byte
|
||||
|
||||
|
||||
@@ -21,9 +21,6 @@ var iconMenuDotConnected []byte
|
||||
//go:embed assets/netbird-menu-dot-connecting-16.png
|
||||
var iconMenuDotConnecting []byte
|
||||
|
||||
//go:embed assets/netbird-menu-dot-login-16.png
|
||||
var iconMenuDotLogin []byte
|
||||
|
||||
//go:embed assets/netbird-menu-dot-error-16.png
|
||||
var iconMenuDotError []byte
|
||||
|
||||
|
||||
@@ -902,7 +902,7 @@ func statusIndicatorBitmap(status string) []byte {
|
||||
return iconMenuDotConnecting
|
||||
case strings.EqualFold(status, services.StatusNeedsLogin),
|
||||
strings.EqualFold(status, services.StatusSessionExpired):
|
||||
return iconMenuDotLogin
|
||||
return iconMenuDotConnecting
|
||||
case strings.EqualFold(status, services.StatusLoginFailed),
|
||||
strings.EqualFold(status, statusError):
|
||||
return iconMenuDotError
|
||||
|
||||
Reference in New Issue
Block a user