From d75c1ced1eb024cc216febd7676e851aa5d434a4 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 26 Oct 2023 10:03:15 +0200 Subject: code cleanup --- .../skyhanni/features/misc/visualwords/ModifyVisualWords.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/main/java/at') 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 +} -- cgit