Skip to content

Commit 84a6620

Browse files
authored
need to expose these methods (#117)
1 parent c6900f7 commit 84a6620

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/main/java/org/xmtp/android/library/codecs/ReactionCodec.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ sealed class ReactionSchema {
3737
object Unknown : ReactionSchema()
3838
}
3939

40-
private fun getReactionSchema(schema: String): ReactionSchema {
40+
fun getReactionSchema(schema: String): ReactionSchema {
4141
return when (schema) {
4242
"unicode" -> ReactionSchema.Unicode
4343
"shortcode" -> ReactionSchema.Shortcode
@@ -46,7 +46,7 @@ private fun getReactionSchema(schema: String): ReactionSchema {
4646
}
4747
}
4848

49-
private fun getReactionAction(action: String): ReactionAction {
49+
fun getReactionAction(action: String): ReactionAction {
5050
return when (action) {
5151
"removed" -> ReactionAction.Removed
5252
"added" -> ReactionAction.Added

0 commit comments

Comments
 (0)