From 00c742cdc974d8e210df51041589629df67fa528 Mon Sep 17 00:00:00 2001 From: Athul Raj Date: Mon, 5 Sep 2022 20:10:29 +0530 Subject: [PATCH] hide search box when navigating from discover page --- AnimDL.UI.Core/ViewModels/WatchViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AnimDL.UI.Core/ViewModels/WatchViewModel.cs b/AnimDL.UI.Core/ViewModels/WatchViewModel.cs index eef32db8..7259e69e 100644 --- a/AnimDL.UI.Core/ViewModels/WatchViewModel.cs +++ b/AnimDL.UI.Core/ViewModels/WatchViewModel.cs @@ -212,6 +212,7 @@ public override Task OnNavigatedTo(IReadOnlyDictionary 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;