Skip to content
Snippets Groups Projects
Commit 840fe313 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Show progress percentage in tray icon tooltip.

Refers to #2
parent 420b1786
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,7 @@ namespace ATxTray
if ((DateTime.Now - _status.LastStatusUpdate).TotalSeconds < 60)
heartBeat = "OK";
if (_txInProgress)
txProgress = _txProgressPct.ToString();
txProgress = $"{_txProgressPct}%";
}
UpdateTrayIcon();
......@@ -207,7 +207,7 @@ namespace ATxTray
if (!_statusChanged)
return;
UpdateHoverText($"AutoTx [svc={serviceRunning}] [hb={heartBeat}] [tx={txProgress}%]");
UpdateHoverText($"AutoTx [svc={serviceRunning}] [hb={heartBeat}] [tx={txProgress}]");
}
private void MiExitClick(object sender, EventArgs e) {
......
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