Skip to content

Commit

Permalink
fix new radiostations title removal
Browse files Browse the repository at this point in the history
  • Loading branch information
zznty committed Apr 12, 2024
1 parent 3697df0 commit 731fb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MusicX.Core/Helpers/VkBlockHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ public static ResponseData Proccess(this ResponseData response)
}

response.Section.Blocks.RemoveAll(block =>
block is { DataType: "radiostations" } or { Layout.Title: "Радиостанции" } ||
block is { DataType: "radiostations" } or { Layout.Title: "Радиостанции" or "Эфиры" } ||
(
block is { Banners.Count: > 0 } &&
block.Banners.RemoveAll(banner => banner.ClickAction?.Action.Url.Contains("subscription") is true ||
Expand Down

0 comments on commit 731fb19

Please sign in to comment.