Skip to content

Commit

Permalink
Fix RSS feed not displaying renamed title correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-128 committed Jan 26, 2025
1 parent 9ad7359 commit 99558f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qBitControl/Models/RSSNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ final class RSSNode: Decodable, Identifiable {
for (key, value) in feedsOrNodes {
switch value {
case .feed(let feed):
feeds.append(feed)
// The feed's title is not changing after renaming in qBittorrent, the correct value is the key
let newFeed = RSSFeed(url: feed.url, uid: feed.uid, isLoading: feed.isLoading, title: key, hasError: feed.hasError, articles: feed.articles)
feeds.append(newFeed)
case .node(let node):
node.title = key
node.parent = self
Expand Down

0 comments on commit 99558f1

Please sign in to comment.