Skip to content

Commit b3e91dc

Browse files
pushpsenairekar2911pushpsenairekar2911
authored andcommitted
v2.1.9
1 parent 87f663a commit b3e91dc

File tree

34 files changed

+3995
-2026
lines changed

34 files changed

+3995
-2026
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ assignees: ''
1010

1111

1212

13+
1314
**Describe the bug**
1415
A clear and concise description of what the bug is.
1516

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ ios-objective-c-chat-app/.DS_Store
99

1010

1111

12+
13+

CometChatObjc/CometChatObjc.xcodeproj/project.pbxproj

Lines changed: 2096 additions & 2016 deletions
Large diffs are not rendered by default.

CometChatObjc/CometChatObjc/Library/Resources/Extensioon/MessageActions.swift

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
case share
2626
case sticker
2727
case reaction
28+
case whiteboard
29+
case writeboard
2830
}
2931

3032
protocol RowPresentable {
@@ -48,6 +50,8 @@
4850
func didForwardPressed()
4951
func didStickerPressed()
5052
func didReactionPressed()
53+
func didCollaborativeWriteboardPressed()
54+
func didCollaborativeWhiteboardPressed()
5155
}
5256

5357

@@ -266,6 +270,22 @@
266270
if let cell = tableView.dequeueReusableCell(withIdentifier: "addReactionsCell", for: indexPath) as? AddReactionsCell {
267271
return cell
268272
}
273+
case .whiteboard:
274+
if let cell = tableView.dequeueReusableCell(withIdentifier: "actionsCell", for: indexPath) as? ActionsCell {
275+
cell.name.text = "Collaborative Whiteboard"
276+
cell.icon.image = UIImage(named: "whiteboard.png", in: UIKitSettings.bundle, compatibleWith: nil)?.withRenderingMode(.alwaysTemplate)
277+
cell.fullScreenSwitch.isHidden = true
278+
cell.badgeCountSwitch.isHidden = true
279+
return cell
280+
}
281+
case .writeboard:
282+
if let cell = tableView.dequeueReusableCell(withIdentifier: "actionsCell", for: indexPath) as? ActionsCell {
283+
cell.name.text = "Collaborative Writeboard"
284+
cell.icon.image = UIImage(named: "writeboard.png", in: UIKitSettings.bundle, compatibleWith: nil)?.withRenderingMode(.alwaysTemplate)
285+
cell.fullScreenSwitch.isHidden = true
286+
cell.badgeCountSwitch.isHidden = true
287+
return cell
288+
}
269289
}
270290
}
271291
return staticCell
@@ -352,6 +372,14 @@
352372
self.dismiss(animated: true) {
353373
MessageActions.actionsDelegate?.didReactionPressed()
354374
}
375+
case .whiteboard:
376+
self.dismiss(animated: true) {
377+
MessageActions.actionsDelegate?.didCollaborativeWhiteboardPressed()
378+
}
379+
case .writeboard:
380+
self.dismiss(animated: true) {
381+
MessageActions.actionsDelegate?.didCollaborativeWriteboardPressed()
382+
}
355383
}
356384
}
357385
}
1.08 KB
Loading
2.32 KB
Loading
3.49 KB
Loading
1.04 KB
Loading
2.06 KB
Loading

0 commit comments

Comments
 (0)