aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-26 10:03:15 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-26 10:03:15 +0200
commitd75c1ced1eb024cc216febd7676e851aa5d434a4 (patch)
tree3ea64de56773e6b681eb02ec0490383bff99f1ce /src
parent0b3d2dfc3119862f478954e8c179636d75ea81b1 (diff)
downloadskyhanni-d75c1ced1eb024cc216febd7676e851aa5d434a4.tar.gz
skyhanni-d75c1ced1eb024cc216febd7676e851aa5d434a4.tar.bz2
skyhanni-d75c1ced1eb024cc216febd7676e851aa5d434a4.zip
code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/visualwords/ModifyVisualWords.kt8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/visualwords/ModifyVisualWords.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/visualwords/ModifyVisualWords.kt
index 1dd693759..44c4f8cac 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/visualwords/ModifyVisualWords.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/visualwords/ModifyVisualWords.kt
@@ -37,11 +37,15 @@ object ModifyVisualWords {
if (phrase.isEmpty()) continue
- modifiedText = modifiedText.replace(phrase, modifiedWord.replacement.convertToFormatted(), modifiedWord.isCaseSensitive())
+ modifiedText = modifiedText.replace(
+ phrase,
+ modifiedWord.replacement.convertToFormatted(),
+ modifiedWord.isCaseSensitive()
+ )
}
}
textCache.put(originalText, modifiedText)
return modifiedText
}
-} \ No newline at end of file
+}