mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 03:46:02 +08:00
connect/disconnect button modification
This commit is contained in:
parent
e73479fe36
commit
f18e6b83af
2 changed files with 2 additions and 2 deletions
|
@ -56,13 +56,13 @@ func GetNetworksView(networks []string) fyne.CanvasObject {
|
||||||
}
|
}
|
||||||
if cfg.Node.Connected == "yes" {
|
if cfg.Node.Connected == "yes" {
|
||||||
grid.Add(
|
grid.Add(
|
||||||
components.ColoredIconButton("connection", theme.CheckButtonCheckedIcon(), func() {
|
components.ColoredIconButton("disconnect", theme.CheckButtonCheckedIcon(), func() {
|
||||||
disconnect(*network)
|
disconnect(*network)
|
||||||
}, components.Gravitl_color),
|
}, components.Gravitl_color),
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
grid.Add(
|
grid.Add(
|
||||||
components.ColoredIconButton("connection", theme.CheckButtonIcon(), func() {
|
components.ColoredIconButton("connect", theme.CheckButtonIcon(), func() {
|
||||||
connect(*network)
|
connect(*network)
|
||||||
}, components.Danger_color),
|
}, components.Danger_color),
|
||||||
)
|
)
|
||||||
|
|
BIN
netclient/main.exe
Executable file
BIN
netclient/main.exe
Executable file
Binary file not shown.
Loading…
Add table
Reference in a new issue