Skip to content

Commit c3ebe9a

Browse files
committed
Refactor handling updates
1 parent 82b430e commit c3ebe9a

File tree

4 files changed

+198
-136
lines changed

4 files changed

+198
-136
lines changed

Chatto/sources/ChatController/ChatMessages/New/CollectionUpdateProvider.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ import UIKit
2626
// TODO: Rename
2727
public final class CollectionUpdateProvider: CollectionUpdateProviderProtocol {
2828

29-
// TODO: Stop sharing configuration with adapter
30-
public typealias Configuration = NewChatMessageCollectionAdapter.Configuration
29+
public struct Configuration {
30+
let isRegisteringPresentersAutomatically: Bool
31+
32+
public init(isRegisteringPresentersAutomatically: Bool) {
33+
self.isRegisteringPresentersAutomatically = isRegisteringPresentersAutomatically
34+
}
35+
}
3136

3237
// MARK: - Private properties
3338

0 commit comments

Comments
 (0)