mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-21 01:30:33 +02:00
Fix crash on empty input in unit converter
This commit is contained in:
parent
c838d0f32d
commit
5932332fc8
@ -301,7 +301,7 @@ internal fun TopScreenPart(
|
||||
navigateToRightScreen(
|
||||
unitFrom.unitId,
|
||||
unitTo.unitId,
|
||||
input
|
||||
input?.ifEmpty { "0" }
|
||||
)
|
||||
},
|
||||
label = unitTo?.displayName ?: R.string.loading_label,
|
||||
|
Loading…
x
Reference in New Issue
Block a user