Skip to content

Commit 8fbbff0

Browse files
committed
PR review
1 parent d1b2c7d commit 8fbbff0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

App/ViewModels/AgentViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,17 +242,17 @@ public string ConnectionTooltip
242242
"""
243243
);
244244
}
245-
else if (PreferredDerpLatency != null)
245+
else if (Latency != null)
246246
{
247247
description.Append($"""
248248
You're connected through a DERP relay. {highLatencyWarning}
249249
We'll switch over to peer-to-peer when available.
250250
251-
Total latency: {PreferredDerpLatency.Value.Milliseconds} ms
251+
Total latency: {Latency.Value.Milliseconds} ms
252252
"""
253253
);
254254

255-
if (PreferredDerp != null && Latency != null)
255+
if (PreferredDerpLatency != null)
256256
{
257257
description.Append($"\nYou ↔ {PreferredDerp}: {PreferredDerpLatency.Value.Milliseconds} ms");
258258

0 commit comments

Comments
 (0)