mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Update features/poll/api/src/main/kotlin/io/element/android/features/poll/api/pollcontent/PollContentState.kt
Co-authored-by: Benoit Marty <benoit.marty@gmail.com>
This commit is contained in:
+1
-1
@@ -33,5 +33,5 @@ data class PollContentState(
|
|||||||
val isPollEnded: Boolean,
|
val isPollEnded: Boolean,
|
||||||
val isMine: Boolean,
|
val isMine: Boolean,
|
||||||
) {
|
) {
|
||||||
val isMultipleSelection: Boolean get() = maxSelections > 1u
|
val isMultipleSelection = maxSelections > 1u
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user