Reduce the number of unnecessary home page reloads

This commit is contained in:
Andy Uhnak
2022-04-04 11:38:27 +01:00
parent 3f34fd655a
commit e817286424
7 changed files with 99 additions and 97 deletions
@@ -1,4 +1,4 @@
//
//
// Copyright 2021 New Vector Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -610,9 +610,10 @@ public class RecentsListService: NSObject, RecentsListServiceProtocol {
multicastDelegate.invoke { $0.recentsListServiceDidChangeData?(self,
forSection: section,
totalCountsChanged: totalCountsChanged) }
} else {
multicastDelegate.invoke { $0.recentsListServiceDidChangeData?(self,
totalCountsChanged: totalCountsChanged) }
}
multicastDelegate.invoke { $0.recentsListServiceDidChangeData?(self,
totalCountsChanged: totalCountsChanged) }
}
deinit {