aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Plugins.DefaultTheme/Pages/InternalPlayerPage.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Plugins.DefaultTheme/Pages/InternalPlayerPage.xaml.cs')
-rw-r--r--MediaBrowser.Plugins.DefaultTheme/Pages/InternalPlayerPage.xaml.cs41
1 files changed, 41 insertions, 0 deletions
diff --git a/MediaBrowser.Plugins.DefaultTheme/Pages/InternalPlayerPage.xaml.cs b/MediaBrowser.Plugins.DefaultTheme/Pages/InternalPlayerPage.xaml.cs
new file mode 100644
index 000000000..82a1e9cf8
--- /dev/null
+++ b/MediaBrowser.Plugins.DefaultTheme/Pages/InternalPlayerPage.xaml.cs
@@ -0,0 +1,41 @@
+using MediaBrowser.Plugins.DefaultTheme.Resources;
+using MediaBrowser.UI.Pages;
+using System.Windows;
+
+namespace MediaBrowser.Plugins.DefaultTheme.Pages
+{
+ /// <summary>
+ /// Interaction logic for InternalPlayerPage.xaml
+ /// </summary>
+ public partial class InternalPlayerPage : BaseInternalPlayerPage
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="InternalPlayerPage" /> class.
+ /// </summary>
+ public InternalPlayerPage()
+ {
+ InitializeComponent();
+ }
+
+ /// <summary>
+ /// Called when [loaded].
+ /// </summary>
+ protected override void OnLoaded()
+ {
+ base.OnLoaded();
+
+ AppResources.Instance.ClearPageTitle();
+ AppResources.Instance.HeaderContent.Visibility = Visibility.Collapsed;
+ }
+
+ /// <summary>
+ /// Called when [unloaded].
+ /// </summary>
+ protected override void OnUnloaded()
+ {
+ base.OnUnloaded();
+
+ AppResources.Instance.HeaderContent.Visibility = Visibility.Visible;
+ }
+ }
+}