cscarney / syndic

Convergent feed reader for Plasma and Android
12 stars 2 forks source link

Avoid creating multiple instances of the "All Items" feed #124

Closed cscarney closed 1 year ago

cscarney commented 1 year ago

The all items feed is a fairly heavy object which recieves and re-emits signals from all of the other feeds. Avoid unnecessarily recreating it by having a single shared instance provided by the context.

With this change the AllItemsFeed class becomes an internal implementation detail of the new Context::allItemsFeed() function.