mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 16:25:27 +02:00
fix: Only show ValueOneSummary if value is available
Signed-off-by: Myzel394 <50424412+Myzel394@users.noreply.github.com>
This commit is contained in:
parent
ad107b0143
commit
a07aa51163
@ -493,6 +493,7 @@ private fun Default(
|
||||
),
|
||||
)
|
||||
|
||||
if (uiState.result is ConverterResult.Default && uiState.unitTo.factor >= BigDecimal.ZERO) {
|
||||
ValueOneSummary(
|
||||
modifier = with(density) {
|
||||
Modifier
|
||||
@ -502,6 +503,7 @@ private fun Default(
|
||||
},
|
||||
uiState = uiState,
|
||||
)
|
||||
}
|
||||
|
||||
Spacer(modifier = Modifier.height(boxWithConstraintsScope.maxHeight * 0.03f))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user