mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 00:17:41 +01:00
Default to allowing multiple votes.
This commit is contained in:
committed by
Cody Henthorne
parent
a4637248e8
commit
6155140de4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user