mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-14 00:55:10 +00:00
fix: strip " " also
This commit is contained in:
@@ -150,7 +150,7 @@ module Invidious::Routes::PreferencesRoute
|
||||
|
||||
delete = [] of Int32
|
||||
hidden_channels.each_with_index do |ucid, idx|
|
||||
u = ucid.rstrip("\r")
|
||||
u = ucid.rstrip("\r").rstrip(" ")
|
||||
|
||||
if (u == "") || (u == "\r")
|
||||
delete << idx
|
||||
|
||||
Reference in New Issue
Block a user