public void SetCaptureTimerValue(int t) { var captureTimer = _overlayEntryProvider.GetOverlayEntry("CaptureTimer"); if (captureTimer != null) { captureTimer.Value = $"{t} s"; _rTSSService.SetOverlayEntry(captureTimer); } }
public void SetCaptureTimerValue(int t) { if (_appConfiguration.IsOverlayActive) { var captureTimer = _overlayEntryProvider.GetOverlayEntry("CaptureTimer"); if (captureTimer != null) { captureTimer.Value = $"{t} s"; _rTSSService.SetOverlayEntry(captureTimer); } } }