fix: strip " " also

This commit is contained in:
Fijxu
2025-09-07 01:05:56 -03:00
parent 24b3132252
commit 83760a8e66

View File

@@ -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