From e980a50bf212493a0b20026d0eb66f51acb8c739 Mon Sep 17 00:00:00 2001 From: Alexander Popoff Date: Wed, 15 May 2024 19:24:48 +0300 Subject: [PATCH] Fix warning --- buildSrc/src/main/kotlin/karakum/mui/Strings.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/karakum/mui/Strings.kt b/buildSrc/src/main/kotlin/karakum/mui/Strings.kt index 8c2e1b8a9..c21d347b4 100644 --- a/buildSrc/src/main/kotlin/karakum/mui/Strings.kt +++ b/buildSrc/src/main/kotlin/karakum/mui/Strings.kt @@ -4,7 +4,7 @@ private val MINUS_LETTER = Regex("""-(\w)""") private val SPACE_LETTER = Regex("""\s(\w)""") private val toUpperCase: (MatchResult) -> CharSequence = { - it.groupValues[1].toUpperCase() + it.groupValues[1].uppercase() } internal fun String.kebabToCamel(): String =