mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 14:58:36 +01:00
rework checkboxes for block unrated items
This commit is contained in:
@@ -3,6 +3,7 @@ using MediaBrowser.Model.Configuration;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
@@ -107,7 +108,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
protected override bool GetBlockUnratedValue(UserConfiguration config)
|
||||
{
|
||||
return config.BlockUnratedGames;
|
||||
return config.BlockUnratedItems.Contains(UnratedItem.Game);
|
||||
}
|
||||
|
||||
public GameInfo GetLookupInfo()
|
||||
|
||||
Reference in New Issue
Block a user