We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20dfa96 commit 5c1e97bCopy full SHA for 5c1e97b
Sources/StreamChatSwiftUI/ChatChannel/Composer/AttachmentPickerView.swift
@@ -71,8 +71,8 @@ public struct AttachmentPickerView<Factory: ViewFactory>: View {
71
)
72
73
if selectedPickerState == .photos {
74
- if let assets = photoLibraryAssets,
75
- let collection = PHFetchResultCollection(fetchResult: assets) {
+ if let assets = photoLibraryAssets {
+ let collection = PHFetchResultCollection(fetchResult: assets)
76
if !collection.isEmpty {
77
viewFactory.makePhotoAttachmentPickerView(
78
assets: collection,
0 commit comments