From cf61ac0264883e53f024088a88148b87cbbf89a7 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Sun, 17 Mar 2013 23:10:21 -0400 Subject: fixed client type display for ios. also fixed display preferences saving. --- MediaBrowser.Model/Entities/DisplayPreferences.cs | 33 +---------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'MediaBrowser.Model/Entities') diff --git a/MediaBrowser.Model/Entities/DisplayPreferences.cs b/MediaBrowser.Model/Entities/DisplayPreferences.cs index 2fe4ae5646..7331da86d7 100644 --- a/MediaBrowser.Model/Entities/DisplayPreferences.cs +++ b/MediaBrowser.Model/Entities/DisplayPreferences.cs @@ -21,8 +21,6 @@ namespace MediaBrowser.Model.Entities /// public DisplayPreferences() { - ViewType = ViewTypes.Poster; - PrimaryImageType = ImageType.Primary; RememberIndexing = false; PrimaryImageHeight = 250; PrimaryImageWidth = 250; @@ -40,13 +38,7 @@ namespace MediaBrowser.Model.Entities /// /// The type of the view. [ProtoMember(2)] - public ViewTypes ViewType { get; set; } - /// - /// Gets or sets the type of the primary image. - /// - /// The type of the primary image. - [ProtoMember(3)] - public ImageType PrimaryImageType { get; set; } + public string ViewType { get; set; } /// /// Gets or sets the sort by. /// @@ -127,29 +119,6 @@ namespace MediaBrowser.Model.Entities } } - /// - /// Enum ViewTypes - /// - public enum ViewTypes - { - /// - /// The poster - /// - Poster, - /// - /// The cover flow - /// - CoverFlow, - /// - /// The thumb strip - /// - ThumbStrip, - /// - /// The list - /// - List - } - /// /// Enum ScrollDirection /// -- cgit v1.2.3