Skip to content
Snippets Groups Projects
Unverified Commit 1d0bdcd6 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[bug] make the gw selection more responsive

parent 2b92c93e
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ func UseLocation(label string) {
ctx.bm.UseGateway(label)
go trigger(OnStatusChanged)
if ctx.Status == on && label != strings.ToLower(ctx.CurrentLocation) {
ctx.bm.Reconnect()
go ctx.bm.Reconnect()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment