Merge pull request #2295 from tyiu/change-emoji-component

Revamp emoji picker to be less error-prone and add search, frequently used, and multiple skin tone support capabilities
This commit is contained in:
Daniel D’Aquino
2024-06-24 11:38:31 -07:00
parent 23c3130a82
commit 529ee63f29
10 changed files with 109 additions and 106 deletions

View File

@@ -7,6 +7,7 @@
import Foundation
@testable import damus
import EmojiPicker
// Generates a test damus state with configurable mock parameters
func generate_test_damus_state(
@@ -50,7 +51,9 @@ func generate_test_damus_state(
music: .init(onChange: {_ in }),
video: .init(),
ndb: ndb,
quote_reposts: .init(our_pubkey: our_pubkey) )
quote_reposts: .init(our_pubkey: our_pubkey),
emoji_provider: DefaultEmojiProvider()
)
return damus
}