Merge pull request #145 from ssrtw/rss-feed-enhance

Rss feed enhance
This commit is contained in:
Svilen Markov
2024-07-03 19:49:32 +01:00
committed by GitHub
2 changed files with 39 additions and 28 deletions

View File

@@ -39,10 +39,9 @@ func (widget *RSS) Initialize() error {
widget.CardHeight = 0
}
if widget.Style != "detailed-list" {
if widget.Style == "detailed-list" {
for i := range widget.FeedRequests {
widget.FeedRequests[i].HideCategories = true
widget.FeedRequests[i].HideDescription = true
widget.FeedRequests[i].IsDetailed = true
}
}