Skip to content

Commit

Permalink
Fixed examples and rename functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluchu committed Jul 13, 2023
1 parent 1e52375 commit 09f7ceb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app/src/main/kotlin/com/jeluchu/composer/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion jchucomponents-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ afterEvaluate {
from components.release
groupId = "com.github.jeluchu"
artifactId = "jchucomponents-core"
version = "1.7.4"
version = "1.7.5"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion jchucomponents-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ afterEvaluate {
from components.release
groupId = "com.github.jeluchu"
artifactId = "jchucomponents-ktx"
version = "1.7.4"
version = "1.7.5"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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? {
Expand Down Expand Up @@ -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? {
Expand Down
2 changes: 1 addition & 1 deletion jchucomponents-prefs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ afterEvaluate {
from components.release
groupId = "com.github.jeluchu"
artifactId = "jchucomponents-prefs"
version = "1.7.4"
version = "1.7.5"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion jchucomponents-qr/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ afterEvaluate {
from components.release
groupId = "com.github.jeluchu"
artifactId = "jchucomponents-qr"
version = "1.7.4"
version = "1.7.5"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion jchucomponents-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ afterEvaluate {
from components.release
groupId = "com.github.jeluchu"
artifactId = "jchucomponents-ui"
version = "1.7.4"
version = "1.7.5"
}
}
}
Expand Down

0 comments on commit 09f7ceb

Please sign in to comment.