diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-21 23:06:31 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-21 23:06:31 +0200 |
commit | 59d5e664cd5cd5b6fc4a40d4ecfee3842871bb2e (patch) | |
tree | 2986e141d4a1ca0180094894d0a7f343fb1df450 /src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt | |
parent | 2c448cf20f20936c3d4c83ff29c0bf043fe6394f (diff) | |
download | skyhanni-59d5e664cd5cd5b6fc4a40d4ecfee3842871bb2e.tar.gz skyhanni-59d5e664cd5cd5b6fc4a40d4ecfee3842871bb2e.tar.bz2 skyhanni-59d5e664cd5cd5b6fc4a40d4ecfee3842871bb2e.zip |
wording
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt index 433078b5f..56a366dc3 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt @@ -335,9 +335,9 @@ object StringUtils { return null } - val originalText = LorenzUtils.stripVanillaMessage(original.formattedText) - val newTextt = LorenzUtils.stripVanillaMessage(newText) - if (originalText == newTextt) return null + val originalClean = LorenzUtils.stripVanillaMessage(original.formattedText) + val newTextClean = LorenzUtils.stripVanillaMessage(newText) + if (originalClean == newTextClean) return null val text = ChatComponentText(newText) if (size == 1) { |