Skip to content

Commit ed44651

Browse files
pushpsenairekar2911pushpsenairekar2911
authored andcommitted
v2.4.1-3
1 parent af2dc2d commit ed44651

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CometChatObjc/CometChatObjc/Library/UIKit Resources/Helper Extensions/CometChatSnackBoard/CometChatSnackBoard.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ open class CometChatSnackBoard {
8787
status bar. The only alternative is to set `Config.prefersStatusBarHidden = true`
8888
to hide it.
8989
*/
90-
@available(iOS 13.0, *)
91-
case windowScene(_: UIWindowScene, windowLevel: UIWindow.Level)
90+
case windowScene(_: Any, windowLevel: UIWindow.Level)
9291

9392
/**
9493
Displays the message view under navigation bars and tab bars if an

CometChatObjc/CometChatObjc/Library/UIKit Resources/Helper Extensions/CometChatSnackBoard/SwiftMessages.Config+Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extension CometChatSnackBoard.Config {
2020
@available (iOS 13.0, *)
2121
var windowScene: UIWindowScene? {
2222
switch presentationContext {
23-
case .windowScene(let scene, _): return scene
23+
case .windowScene(let scene, _): return scene as? UIWindowScene
2424
default:
2525
#if CometChatSnackBoard_APP_EXTENSIONS
2626
return nil

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<a href=""><img src="https://img.shields.io/badge/Repo%20Size-15.6%20MB-brightgreen" /></a>
1919
<a href=""> <img src="https://img.shields.io/badge/Contributors-5-yellowgreen" /></a>
20-
<a href=" "> <img src="https://img.shields.io/badge/Version-2.3.7--1-red" /></a>
20+
<a href=" "> <img src="https://img.shields.io/badge/Version-2.4.1--3-red" /></a>
2121
<a href=""> <img src="https://img.shields.io/github/stars/cometchat-pro/ios-objective-c-chat-app?style=social" /></a>
2222
<a href=""> <img src="https://img.shields.io/twitter/follow/cometchat?style=social" /></a>
2323

0 commit comments

Comments
 (0)