|
@@ -59,7 +59,7 @@ func (c *folderSummaryService) Stop() {
|
|
|
// listenForUpdates subscribes to the event bus and makes note of folders that
|
|
// listenForUpdates subscribes to the event bus and makes note of folders that
|
|
|
// need their data recalculated.
|
|
// need their data recalculated.
|
|
|
func (c *folderSummaryService) listenForUpdates() {
|
|
func (c *folderSummaryService) listenForUpdates() {
|
|
|
- sub := events.Default.Subscribe(events.LocalIndexUpdated | events.RemoteIndexUpdated | events.StateChanged)
|
|
|
|
|
|
|
+ sub := events.Default.Subscribe(events.LocalIndexUpdated | events.RemoteIndexUpdated | events.StateChanged | events.RemoteDownloadProgress)
|
|
|
defer events.Default.Unsubscribe(sub)
|
|
defer events.Default.Unsubscribe(sub)
|
|
|
|
|
|
|
|
for {
|
|
for {
|