Skip to content

Commit aefe78f

Browse files
Fixed warning for empty collection literal in Xcode 14.3
1 parent f793420 commit aefe78f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
### 🐞 Fixed
77
- Fixed the text input cursor when a message is being edited
88
- Fixed channel list view model always not using passed channel type for deletion
9+
- Fixed warning for empty collection literal in Xcode 14.3
910

1011
### ✅ Added
1112
- Added a factory method for customizing the composer text input view

Sources/StreamChatSwiftUI/ChatChannel/Composer/Suggestions/InstantCommands/TwoStepMentionCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ open class TwoStepMentionCommand: CommandHandler {
103103
return resolve(
104104
with: SuggestionInfo(
105105
key: "mentions",
106-
value: []
106+
value: [Any]()
107107
)
108108
)
109109
}

StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelTestHelpers.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class ChatChannelTestHelpers {
5454
payload: ImageAttachmentPayload(
5555
title: "test",
5656
imageRemoteURL: testURL,
57-
imagePreviewRemoteURL: testURL,
5857
extraData: [:]
5958
),
6059
uploadingState: uploadingState

0 commit comments

Comments
 (0)