aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Plugins.DefaultTheme/Pages/InternalPlayerPage.xaml.cs
blob: 82a1e9cf89cc18cae41af909a8e72cf840c0f255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;
        }
    }
}