Skip to content

Commit 8852c08

Browse files
Preparing for release 4.9.0
1 parent 9d92c99 commit 8852c08

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let package = Package(
1717
)
1818
],
1919
dependencies: [
20-
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.9.0"),
20+
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.10.0"),
2121
.package(url: "https://github.com/kean/Nuke.git", from: "10.0.0"),
2222
.package(url: "https://github.com/kean/NukeUI.git", from: "0.7.0")
2323
],

Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageListView.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@ struct MessageListView<Factory: ViewFactory>: View, KeyboardReadable {
162162
}
163163

164164
private var scrolledIdAvailableInMessages: Bool {
165-
messages.map(\.messageId).contains(scrolledId)
165+
if let scrolledId = scrolledId {
166+
return messages.map(\.messageId).contains(scrolledId)
167+
} else {
168+
return false
169+
}
166170
}
167171

168172
private func showsAllData(for message: ChatMessage) -> Bool {

StreamChatSwiftUI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Pod::Spec.new do |spec|
1919

2020
spec.framework = "Foundation", "UIKit", "SwiftUI"
2121

22-
spec.dependency "StreamChat", "~> 4.9.0"
22+
spec.dependency "StreamChat", "~> 4.10.0"
2323
spec.dependency "Nuke", "~> 10.0"
2424
spec.dependency "SwiftyGif", "~> 5.0"
2525
spec.dependency "NukeUI", "~> 0.7.0"

StreamChatSwiftUI.xcodeproj/project.pbxproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@
19791979
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
19801980
CODE_SIGN_IDENTITY = "Apple Development";
19811981
CODE_SIGN_STYLE = Manual;
1982-
CURRENT_PROJECT_VERSION = 8;
1982+
CURRENT_PROJECT_VERSION = 9;
19831983
DEVELOPMENT_ASSET_PATHS = "\"DemoAppSwiftUI/Preview Content\"";
19841984
DEVELOPMENT_TEAM = EHV7XZLAHA;
19851985
ENABLE_PREVIEWS = YES;
@@ -1994,7 +1994,7 @@
19941994
"$(inherited)",
19951995
"@executable_path/Frameworks",
19961996
);
1997-
MARKETING_VERSION = 4.8.0;
1997+
MARKETING_VERSION = 4.9.0;
19981998
PRODUCT_BUNDLE_IDENTIFIER = io.getstream.iOS.DemoAppSwiftUI;
19991999
PRODUCT_NAME = "$(TARGET_NAME)";
20002000
PROVISIONING_PROFILE_SPECIFIER = "match Development io.getstream.iOS.DemoAppSwiftUI";
@@ -2012,7 +2012,7 @@
20122012
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
20132013
CODE_SIGN_IDENTITY = "Apple Distribution";
20142014
CODE_SIGN_STYLE = Manual;
2015-
CURRENT_PROJECT_VERSION = 8;
2015+
CURRENT_PROJECT_VERSION = 9;
20162016
DEVELOPMENT_ASSET_PATHS = "\"DemoAppSwiftUI/Preview Content\"";
20172017
DEVELOPMENT_TEAM = EHV7XZLAHA;
20182018
ENABLE_PREVIEWS = YES;
@@ -2027,7 +2027,7 @@
20272027
"$(inherited)",
20282028
"@executable_path/Frameworks",
20292029
);
2030-
MARKETING_VERSION = 4.8.0;
2030+
MARKETING_VERSION = 4.9.0;
20312031
PRODUCT_BUNDLE_IDENTIFIER = io.getstream.iOS.DemoAppSwiftUI;
20322032
PRODUCT_NAME = "$(TARGET_NAME)";
20332033
PROVISIONING_PROFILE_SPECIFIER = "match AppStore io.getstream.iOS.DemoAppSwiftUI";
@@ -2084,7 +2084,7 @@
20842084
repositoryURL = "https://github.com/GetStream/stream-chat-swift.git";
20852085
requirement = {
20862086
kind = exactVersion;
2087-
version = 4.9.0;
2087+
version = 4.10.0;
20882088
};
20892089
};
20902090
8465FCB527468B0600AF091E /* XCRemoteSwiftPackageReference "NukeUI" */ = {

StreamChatSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)