rework checkboxes for block unrated items

This commit is contained in:
Luke Pulverenti
2014-02-21 10:24:29 -05:00
parent aeb43e229a
commit 6e5d90bafe
17 changed files with 59 additions and 26 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Linq;
namespace MediaBrowser.Controller.Entities
{
@@ -97,7 +98,7 @@ namespace MediaBrowser.Controller.Entities
protected override bool GetBlockUnratedValue(UserConfiguration config)
{
return config.BlockUnratedTrailers;
return config.BlockUnratedItems.Contains(UnratedItem.Trailer);
}
public TrailerInfo GetLookupInfo()