From 9e22b94dffe4670fd3e0738beff259d8391b270d Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 8 Feb 2018 21:43:31 +0100 Subject: [style] remove unused code --- systray.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'systray.go') diff --git a/systray.go b/systray.go index 4344748..b160c03 100644 --- a/systray.go +++ b/systray.go @@ -145,15 +145,10 @@ func (bt *bmTray) addGateways() { } systray.AddSeparator() - - go bt.gatewaySelection() -} - -func (bt *bmTray) gatewaySelection() { - } func (bt *bmTray) changeStatus(status string) { + // TODO: ugly hacks with 'go' to hide/show statusStr := status bt.mTurnOn.SetTitle("Turn on") if bt.waitCh != nil { -- cgit v1.2.3