Skip to content

Commit

Permalink
Only show PG-13 content in screensaver
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Feb 11, 2024
1 parent 88b1d39 commit 3e434b8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ private suspend fun getRandomLibraryShowcase(
sortBy = listOf(ItemSortBy.Random),
limit = 5,
imageTypes = listOf(ImageType.BACKDROP),
// TODO: Add preferences for these two settings

Check warning

Code scanning / detekt

Flags a forbidden comment. Warning

Forbidden TODO todo marker in comment, please do the changes.
maxOfficialRating = "PG-13",
// hasParentalRating = true,
)

val item = response.items?.firstOrNull { item ->
Expand Down

0 comments on commit 3e434b8

Please sign in to comment.