mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 16:25:27 +02:00
fix(converter): Only show OneValueSummary if unitTo is not 0
Signed-off-by: Myzel394 <50424412+Myzel394@users.noreply.github.com>
This commit is contained in:
parent
1b292c1c31
commit
4e509cbbfd
@ -493,7 +493,7 @@ private fun Default(
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
if (uiState.result is ConverterResult.Default && uiState.unitTo.factor >= BigDecimal.ZERO) {
|
if (uiState.result is ConverterResult.Default && uiState.unitTo.factor > BigDecimal.ZERO) {
|
||||||
ValueOneSummary(
|
ValueOneSummary(
|
||||||
modifier = with(density) {
|
modifier = with(density) {
|
||||||
Modifier
|
Modifier
|
||||||
|
Loading…
x
Reference in New Issue
Block a user