mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
fixed client type display for ios. also fixed display preferences saving.
This commit is contained in:
@@ -21,8 +21,6 @@ namespace MediaBrowser.Model.Entities
|
||||
/// </summary>
|
||||
public DisplayPreferences()
|
||||
{
|
||||
ViewType = ViewTypes.Poster;
|
||||
PrimaryImageType = ImageType.Primary;
|
||||
RememberIndexing = false;
|
||||
PrimaryImageHeight = 250;
|
||||
PrimaryImageWidth = 250;
|
||||
@@ -40,13 +38,7 @@ namespace MediaBrowser.Model.Entities
|
||||
/// </summary>
|
||||
/// <value>The type of the view.</value>
|
||||
[ProtoMember(2)]
|
||||
public ViewTypes ViewType { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the primary image.
|
||||
/// </summary>
|
||||
/// <value>The type of the primary image.</value>
|
||||
[ProtoMember(3)]
|
||||
public ImageType PrimaryImageType { get; set; }
|
||||
public string ViewType { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the sort by.
|
||||
/// </summary>
|
||||
@@ -127,29 +119,6 @@ namespace MediaBrowser.Model.Entities
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum ViewTypes
|
||||
/// </summary>
|
||||
public enum ViewTypes
|
||||
{
|
||||
/// <summary>
|
||||
/// The poster
|
||||
/// </summary>
|
||||
Poster,
|
||||
/// <summary>
|
||||
/// The cover flow
|
||||
/// </summary>
|
||||
CoverFlow,
|
||||
/// <summary>
|
||||
/// The thumb strip
|
||||
/// </summary>
|
||||
ThumbStrip,
|
||||
/// <summary>
|
||||
/// The list
|
||||
/// </summary>
|
||||
List
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum ScrollDirection
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user