diff --git a/app/src/main/kotlin/com/jeluchu/composer/MainActivity.kt b/app/src/main/kotlin/com/jeluchu/composer/MainActivity.kt index 38673ad6..70a49b21 100644 --- a/app/src/main/kotlin/com/jeluchu/composer/MainActivity.kt +++ b/app/src/main/kotlin/com/jeluchu/composer/MainActivity.kt @@ -82,8 +82,8 @@ class MainActivity : ComponentActivity() { navigateToBackScreen = { } ) - androidx.compose.material.Text(text = PriceUtil.convertFullPriceToDivided("19,99€", 12).orEmpty()) - androidx.compose.material.Text(text = PriceUtil.convertDividedToFullPrice("1,99€", 12).orEmpty()) + androidx.compose.material.Text(text = PriceUtil.toDividedPrice("19,99€", 12).orEmpty()) + androidx.compose.material.Text(text = PriceUtil.toFullPrice("1,99€", 12).orEmpty()) val textState = remember { mutableStateOf(String.empty()) } SearchTextField(state = textState) MarqueeText( diff --git a/jchucomponents-core/build.gradle b/jchucomponents-core/build.gradle index 992aec2b..9367fae7 100644 --- a/jchucomponents-core/build.gradle +++ b/jchucomponents-core/build.gradle @@ -77,7 +77,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-core" - version = "1.7.4" + version = "1.7.5" } } } diff --git a/jchucomponents-ktx/build.gradle b/jchucomponents-ktx/build.gradle index 82b08559..9e34a102 100644 --- a/jchucomponents-ktx/build.gradle +++ b/jchucomponents-ktx/build.gradle @@ -64,7 +64,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-ktx" - version = "1.7.4" + version = "1.7.5" } } } diff --git a/jchucomponents-pay/src/main/kotlin/com/jeluchu/pay/playstore/utils/PriceUtil.kt b/jchucomponents-pay/src/main/kotlin/com/jeluchu/pay/playstore/utils/PriceUtil.kt index 4f5bc6ed..55475226 100644 --- a/jchucomponents-pay/src/main/kotlin/com/jeluchu/pay/playstore/utils/PriceUtil.kt +++ b/jchucomponents-pay/src/main/kotlin/com/jeluchu/pay/playstore/utils/PriceUtil.kt @@ -20,7 +20,7 @@ object PriceUtil { * @param divider divide the extracted price * @return formatted divided price or null on error */ - fun convertDividedPrice( + fun toDividedPrice( price: String, divider: Int ): String? { @@ -62,7 +62,7 @@ object PriceUtil { * @param divider divide the extracted price * @return formatted divided price or null on error */ - fun convertFullPrice( + fun toFullPrice( price: String, divider: Int ): String? { diff --git a/jchucomponents-prefs/build.gradle b/jchucomponents-prefs/build.gradle index ece7f08f..fd94d68c 100644 --- a/jchucomponents-prefs/build.gradle +++ b/jchucomponents-prefs/build.gradle @@ -63,7 +63,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-prefs" - version = "1.7.4" + version = "1.7.5" } } } diff --git a/jchucomponents-qr/build.gradle b/jchucomponents-qr/build.gradle index 61e5be7b..936a6142 100644 --- a/jchucomponents-qr/build.gradle +++ b/jchucomponents-qr/build.gradle @@ -59,7 +59,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-qr" - version = "1.7.4" + version = "1.7.5" } } } diff --git a/jchucomponents-ui/build.gradle b/jchucomponents-ui/build.gradle index 58fb3026..27ce1be3 100644 --- a/jchucomponents-ui/build.gradle +++ b/jchucomponents-ui/build.gradle @@ -66,7 +66,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-ui" - version = "1.7.4" + version = "1.7.5" } } }