Skip to content

Commit

Permalink
Chore: Bump Twemoji up to v15.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wingio committed Dec 4, 2023
1 parent 683ac0c commit 7de2de4
Show file tree
Hide file tree
Showing 42 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/main/assets/emoji.json

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions app/src/main/java/xyz/wingio/dimett/utils/EmojiUtils.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package xyz.wingio.dimett.utils

import android.content.Context
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.json.Json
import org.koin.core.component.KoinComponent
Expand All @@ -13,7 +14,7 @@ object EmojiUtils : KoinComponent {

val emojis by lazy {
val _json = String(context.assets.open("emoji.json").readBytes())
json.decodeFromString<Map<String, String>>(_json)
json.decodeFromString<EmojiJson>(_json).emoji
}

val regex by lazy {
Expand All @@ -23,4 +24,9 @@ object EmojiUtils : KoinComponent {
}
})"
}
}
}

@Serializable
data class EmojiJson(
val emoji: Map<String, String>
)
Binary file modified app/src/main/res/raw/emoji_1f1f2_1f1fe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/raw/emoji_1f301.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/raw/emoji_1f3e5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1f426_200d_2b1b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/raw/emoji_1f50f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/raw/emoji_1f510.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/raw/emoji_1f512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/raw/emoji_1f513.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/raw/emoji_1f691.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1f6dc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/raw/emoji_1f979.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fa75.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fa76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fa77.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fa87.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fa88.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1faad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1faae.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1faaf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fabb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fabc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fabd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fabf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1face.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1facf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/raw/emoji_1fada.png
Binary file added app/src/main/res/raw/emoji_1fadb.png
Binary file added app/src/main/res/raw/emoji_1fae8.png
Binary file added app/src/main/res/raw/emoji_1faf7.png
Binary file added app/src/main/res/raw/emoji_1faf7_1f3fb.png
Binary file added app/src/main/res/raw/emoji_1faf7_1f3fc.png
Binary file added app/src/main/res/raw/emoji_1faf7_1f3fd.png
Binary file added app/src/main/res/raw/emoji_1faf7_1f3fe.png
Binary file added app/src/main/res/raw/emoji_1faf7_1f3ff.png
Binary file added app/src/main/res/raw/emoji_1faf8.png
Binary file added app/src/main/res/raw/emoji_1faf8_1f3fb.png
Binary file added app/src/main/res/raw/emoji_1faf8_1f3fc.png
Binary file added app/src/main/res/raw/emoji_1faf8_1f3fd.png
Binary file added app/src/main/res/raw/emoji_1faf8_1f3fe.png
Binary file added app/src/main/res/raw/emoji_1faf8_1f3ff.png

0 comments on commit 7de2de4

Please sign in to comment.