mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-24 17:30:29 +08:00
connect/disconnect button modification
This commit is contained in:
@@ -56,13 +56,13 @@ func GetNetworksView(networks []string) fyne.CanvasObject {
|
||||
}
|
||||
if cfg.Node.Connected == "yes" {
|
||||
grid.Add(
|
||||
components.ColoredIconButton("connection", theme.CheckButtonCheckedIcon(), func() {
|
||||
components.ColoredIconButton("disconnect", theme.CheckButtonCheckedIcon(), func() {
|
||||
disconnect(*network)
|
||||
}, components.Gravitl_color),
|
||||
)
|
||||
} else {
|
||||
grid.Add(
|
||||
components.ColoredIconButton("connection", theme.CheckButtonIcon(), func() {
|
||||
components.ColoredIconButton("connect", theme.CheckButtonIcon(), func() {
|
||||
connect(*network)
|
||||
}, components.Danger_color),
|
||||
)
|
||||
|
||||
BIN
netclient/main.exe
Executable file
BIN
netclient/main.exe
Executable file
Binary file not shown.
Reference in New Issue
Block a user