Default to allowing multiple votes.

This commit is contained in:
Michelle Tang
2026-02-20 16:35:09 -05:00
committed by Cody Henthorne
parent a4637248e8
commit 6155140de4

View File

@@ -146,7 +146,7 @@ private fun CreatePollScreen(
// Parts of poll
var question by remember { mutableStateOf("") }
val options = remember { mutableStateListOf("", "") }
var allowMultiple by remember { mutableStateOf(false) }
var allowMultiple by remember { mutableStateOf(true) }
var hasMinimumOptions by remember { mutableStateOf(false) }
val isEnabled = question.isNotBlank() && hasMinimumOptions