mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-13 13:50:34 +05:30
Only show toggle watched button when relevant
This commit is contained in:
parent
588f9b9bd6
commit
2ce038fb7a
@ -1611,7 +1611,10 @@ get "/feed/subscriptions" do |env|
|
||||
if user
|
||||
user = user.as(User)
|
||||
preferences = user.preferences
|
||||
env.set "show_watched", true
|
||||
|
||||
if preferences.unseen_only
|
||||
env.set "show_watched", true
|
||||
end
|
||||
|
||||
# Refresh account
|
||||
headers = HTTP::Headers.new
|
||||
|
Loading…
Reference in New Issue
Block a user