Implement desktop sync protocol handling
This commit is contained in:
@@ -75,6 +75,7 @@ public sealed class TrayApplicationContext : ApplicationContext
|
||||
private void UpdateTrayText()
|
||||
{
|
||||
var status = server.HasClient ? "connected" : "waiting";
|
||||
notifyIcon.Text = $"WirelessTextSyncer {server.LocalIpAddress}:{server.Port} ({status})";
|
||||
var text = $"WirelessTextSyncer {server.LocalIpAddress}:{server.Port} ({status})";
|
||||
notifyIcon.Text = text.Length > 63 ? text[..63] : text;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user