Skip to content
Snippets Groups Projects
Verified Commit 2b209711 authored by meskio's avatar meskio :tent:
Browse files

[feat] display the off icon while waiting for status

- Resolves: #14
parent 868b796e
No related branches found
Tags 0.18.9
1 merge request!5[feat] add i18n support
......@@ -55,6 +55,8 @@ func (bt bmTray) onExit() {
}
func (bt *bmTray) onReady() {
systray.SetIcon(icon.Off)
bt.mStatus = systray.AddMenuItem(printer.Sprintf("Checking status..."), "")
bt.mStatus.Disable()
bt.mTurnOn = systray.AddMenuItem(printer.Sprintf("Turn on"), printer.Sprintf("Turn RiseupVPN on"))
......
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