private void TotalConnectionStatsChanged(object sender, ConnectionStatsChangedEventArgs e) { this.UpdateConnectionStats(e.TotalConnectionStats); }
private void TotalConnectionStatsChanged(object sender, ConnectionStatsChangedEventArgs e) { var stats = e.TotalConnectionStats; this.SyncthingSyncing = stats.InBytesPerSecond > 0 || stats.OutBytesPerSecond > 0; }