mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-15 20:37:17 +01:00
Removes check in the main thread to avoid mocking Android's threading system
This commit is contained in:
@@ -8,8 +8,6 @@ class NIP30Parser {
|
||||
val customEmojiPattern: Pattern = Pattern.compile("\\:([A-Za-z0-9_\\-]+)\\:", Pattern.CASE_INSENSITIVE)
|
||||
|
||||
fun buildArray(input: String): List<String> {
|
||||
checkNotInMainThread()
|
||||
|
||||
val matcher = customEmojiPattern.matcher(input)
|
||||
val list = mutableListOf<String>()
|
||||
while (matcher.find()) {
|
||||
|
||||
Reference in New Issue
Block a user