mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 14:48:07 +00:00
Change Emoji Picker lib
This commit is contained in:
parent
8555affdec
commit
b9ebd3300c
2 changed files with 5 additions and 5 deletions
|
|
@ -24,9 +24,9 @@ import linphonesw
|
|||
import DropDown
|
||||
import PhotosUI
|
||||
import AVFoundation
|
||||
import MCEmojiPicker
|
||||
import EmojiPicker
|
||||
|
||||
class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControllerDelegate, UIDocumentPickerDelegate, UICompositeViewDelegate, UICollectionViewDataSource, UICollectionViewDelegate, UIImagePickerControllerDelegate, MCEmojiPickerDelegate, CoreDelegate & UINavigationControllerDelegate{ // Replaces ChatConversationView
|
||||
class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControllerDelegate, UIDocumentPickerDelegate, UICompositeViewDelegate, UICollectionViewDataSource, UICollectionViewDelegate, UIImagePickerControllerDelegate, EmojiPickerDelegate, CoreDelegate & UINavigationControllerDelegate{ // Replaces ChatConversationView
|
||||
|
||||
static let compositeDescription = UICompositeViewDescription(ChatConversationViewSwift.self, statusBar: StatusBarView.self, tabBar: nil, sideMenu: SideMenuView.self, fullscreen: false, isLeftFragment: false,fragmentWith: nil)
|
||||
|
||||
|
|
@ -1354,10 +1354,10 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
|
||||
@objc private func openEmojiPickerModule(sender: UIButton) {
|
||||
messageView.messageText.resignFirstResponder()
|
||||
let viewController = MCEmojiPickerViewController()
|
||||
let viewController = EmojiPickerViewController()
|
||||
viewController.delegate = self
|
||||
viewController.sourceView = sender
|
||||
viewController.isDismissAfterChoosing = false
|
||||
viewController.isDismissedAfterChoosing = false
|
||||
present(viewController, animated: true, completion: nil)
|
||||
}
|
||||
|
||||
|
|
|
|||
2
Podfile
2
Podfile
|
|
@ -30,7 +30,7 @@ target 'linphone' do
|
|||
pod 'DropDown'
|
||||
pod 'IQKeyboardManager'
|
||||
pod 'SwipeCellKit' #License: https://github.com/SwipeCellKit/SwipeCellKit/blob/develop/LICENSE
|
||||
pod 'MCEmojiPicker' #License: https://github.com/izyumkin/MCEmojiPicker/blob/main/LICENSE
|
||||
pod 'EmojiPicker', :git => 'https://github.com/htmlprogrammist/EmojiPicker'
|
||||
all_pods
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue