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

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

No files matched your search

+2 -3
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
}
}