mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-29 16:34:25 +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" {
|
||||
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.
Loading…
Add table
Reference in a new issue