mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Only show toggle watched button when relevant
This commit is contained in:
parent
588f9b9bd6
commit
2ce038fb7a
1 changed files with 4 additions and 1 deletions
|
@ -1611,7 +1611,10 @@ get "/feed/subscriptions" do |env|
|
||||||
if user
|
if user
|
||||||
user = user.as(User)
|
user = user.as(User)
|
||||||
preferences = user.preferences
|
preferences = user.preferences
|
||||||
|
|
||||||
|
if preferences.unseen_only
|
||||||
env.set "show_watched", true
|
env.set "show_watched", true
|
||||||
|
end
|
||||||
|
|
||||||
# Refresh account
|
# Refresh account
|
||||||
headers = HTTP::Headers.new
|
headers = HTTP::Headers.new
|
||||||
|
|
Loading…
Reference in a new issue