Skip to content

Commit

Permalink
change if statement styling
Browse files Browse the repository at this point in the history
Co-authored-by: 1hitsong <[email protected]>
  • Loading branch information
cewert and 1hitsong authored Feb 14, 2024
1 parent c9f8be1 commit 1b0e644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/home/HomeItem.bs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ sub itemContentChanged()

if LCase(itemData.type) = "series"
if isValid(localGlobal) and isValid(localGlobal.session) and isValid(localGlobal.session.user) and isValid(localGlobal.session.user.settings)
if localGlobal.session.user.settings["ui.tvshows.disableUnwatchedEpisodeCount"] = false
if not localGlobal.session.user.settings["ui.tvshows.disableUnwatchedEpisodeCount"]
if isValid(itemData.json.UserData) and isValid(itemData.json.UserData.UnplayedItemCount)
if itemData.json.UserData.UnplayedItemCount > 0
if isValid(m.unplayedCount) then m.unplayedCount.visible = true
Expand Down

0 comments on commit 1b0e644

Please sign in to comment.