Revamp emoji picker to be less error-prone and add search, frequently used, and multiple skin tone support capabilities

Changelog-Added: Revamp emoji picker to be less error-prone and add search, frequently used, and multiple skin tone support capabilities
This commit is contained in:
2024-06-08 22:12:31 -04:00
parent 8bcd8317f1
commit 9172102f4d
9 changed files with 98 additions and 93 deletions

View File

@@ -8,6 +8,7 @@
import SwiftUI
import AVKit
import MediaPlayer
import EmojiPicker
struct ZapSheet {
let target: ZapTarget
@@ -719,7 +720,8 @@ struct ContentView: View {
music: MusicController(onChange: music_changed),
video: VideoController(),
ndb: ndb,
quote_reposts: .init(our_pubkey: pubkey)
quote_reposts: .init(our_pubkey: pubkey),
emoji_provider: DefaultEmojiProvider(showAllVariations: true)
)
home.damus_state = self.damus_state!