connect/disconnect button modification

This commit is contained in:
Noexperience-Team 2022-10-10 21:16:59 +01:00
parent e73479fe36
commit f18e6b83af
2 changed files with 2 additions and 2 deletions

View file

@ -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

Binary file not shown.