Message edits history: Update view model to handle message history grouping by day.

This commit is contained in:
SBiOSoftWhare
2019-07-04 19:18:13 +02:00
parent ce5073a93d
commit 5f83d6c841
3 changed files with 77 additions and 25 deletions
@@ -21,7 +21,6 @@ import Foundation
/// EditHistoryViewController view state
enum EditHistoryViewState {
case loading
case loaded(messages: [EditHistoryMessage], addedCount: Int)
case allLoaded
case loaded(sections: [EditHistorySection], addedCount: Int, allDataLoaded: Bool)
case error(Error)
}