Skip to content

Commit

Permalink
fixes the bug by using intOrNull
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkerkzgnC24 committed Feb 12, 2024
1 parent 10b755c commit 717eea4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fun LabelledRadioButton(
fun RadioLine(formData: RadioLineData) {
var selectedValue by remember {
mutableStateOf(
formData.value?.jsonPrimitive?.int ?: 0
formData.value?.jsonPrimitive?.intOrNull ?: 0
)
}

Expand Down

0 comments on commit 717eea4

Please sign in to comment.