Skip to content

Commit

Permalink
hide search box when navigating from discover page
Browse files Browse the repository at this point in the history
  • Loading branch information
insomniachi committed Sep 5, 2022
1 parent ac5f670 commit 00c742c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AnimDL.UI.Core/ViewModels/WatchViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ public override Task OnNavigatedTo(IReadOnlyDictionary<string, object> parameter
}
else if(parameters.ContainsKey("EpisodeInfo"))
{
HideControls = true;
var epInfo = parameters["EpisodeInfo"] as AiredEpisode;
var epMatch = Regex.Match(epInfo.EpisodeUrl, @"ep(\d+)");
_episodeRequest = epMatch.Success ? int.Parse(epMatch.Groups[1].Value) : 1;
Expand Down

0 comments on commit 00c742c

Please sign in to comment.