We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6900f7 commit 84a6620Copy full SHA for 84a6620
library/src/main/java/org/xmtp/android/library/codecs/ReactionCodec.kt
@@ -37,7 +37,7 @@ sealed class ReactionSchema {
37
object Unknown : ReactionSchema()
38
}
39
40
-private fun getReactionSchema(schema: String): ReactionSchema {
+fun getReactionSchema(schema: String): ReactionSchema {
41
return when (schema) {
42
"unicode" -> ReactionSchema.Unicode
43
"shortcode" -> ReactionSchema.Shortcode
@@ -46,7 +46,7 @@ private fun getReactionSchema(schema: String): ReactionSchema {
46
47
48
49
-private fun getReactionAction(action: String): ReactionAction {
+fun getReactionAction(action: String): ReactionAction {
50
return when (action) {
51
"removed" -> ReactionAction.Removed
52
"added" -> ReactionAction.Added
0 commit comments