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