Skip to content

Commit

Permalink
change emoji for exception
Browse files Browse the repository at this point in the history
  • Loading branch information
2018JunyoungLim committed Nov 15, 2023
1 parent 24a9eb2 commit 63f14f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ fun String.toEmoji(): String {
this.trim().split(" ").map { it.removePrefix("U+").toInt(16) }
.joinToString("") { Character.toChars(it).joinToString("") }
} catch (e: Exception){
"\u26A0\uFE0F"
"\u2764\uFE0F"
}
}

0 comments on commit 63f14f0

Please sign in to comment.