mirror of
https://github.com/glanceapp/glance.git
synced 2025-08-10 08:07:44 +02:00
fix: add detailed mode flag to fix RSS logic conflict
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user