public void OnViewTimeLapseCommand() { if (string.IsNullOrEmpty(SelectedPath)) { UIService.ShowMessage("Select a file first"); return; } git_.ViewTimeLapse(SelectedPath); }