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

@@ -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
}