Skip to content

Commit 5c1e97b

Browse files
Fixed issue in Xcode 14.3 Beta
1 parent 20dfa96 commit 5c1e97b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/StreamChatSwiftUI/ChatChannel/Composer/AttachmentPickerView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public struct AttachmentPickerView<Factory: ViewFactory>: View {
7171
)
7272

7373
if selectedPickerState == .photos {
74-
if let assets = photoLibraryAssets,
75-
let collection = PHFetchResultCollection(fetchResult: assets) {
74+
if let assets = photoLibraryAssets {
75+
let collection = PHFetchResultCollection(fetchResult: assets)
7676
if !collection.isEmpty {
7777
viewFactory.makePhotoAttachmentPickerView(
7878
assets: collection,

0 commit comments

Comments
 (0)