mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 18:02:47 +08:00
fix: 🚑 build on Xcode 16.2 (#12981)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Improved compatibility for chat cell handling, allowing broader support for different view model types in chat-related features. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -23,7 +23,7 @@ class ChatCellFactory {
|
|||||||
static func dequeueCell(
|
static func dequeueCell(
|
||||||
for tableView: UITableView,
|
for tableView: UITableView,
|
||||||
at indexPath: IndexPath,
|
at indexPath: IndexPath,
|
||||||
with viewModel: ChatCellViewModel
|
with viewModel: any ChatCellViewModel
|
||||||
) -> ChatBaseCell {
|
) -> ChatBaseCell {
|
||||||
let identifier = viewModel.cellType.rawValue
|
let identifier = viewModel.cellType.rawValue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user