Code review fixes.

This commit is contained in:
Onuray Sahin 2022-01-25 12:38:11 +03:00
parent 95020a81c5
commit 04ffb951c3
2 changed files with 2 additions and 1 deletions

View file

@ -53,7 +53,7 @@ sealed class PollOptionViewState(open val optionId: String,
) : PollOptionViewState(optionId, optionAnswer) ) : PollOptionViewState(optionId, optionAnswer)
/** /**
* Represent a poll that is closed, votes will be hidden until the poll is ended. * Represent a poll that is undisclosed, votes will be hidden until the poll is ended.
*/ */
data class PollUndisclosed(override val optionId: String, data class PollUndisclosed(override val optionId: String,
override val optionAnswer: String, override val optionAnswer: String,

View file

@ -3707,6 +3707,7 @@
<string name="end_poll_confirmation_title">End this poll?</string> <string name="end_poll_confirmation_title">End this poll?</string>
<string name="end_poll_confirmation_description">This will stop people from being able to vote and will display the final results of the poll.</string> <string name="end_poll_confirmation_description">This will stop people from being able to vote and will display the final results of the poll.</string>
<string name="end_poll_confirmation_approve_button">End poll</string> <string name="end_poll_confirmation_approve_button">End poll</string>
<!-- TODO. Remove -->
<string name="labs_enable_polls">Enable Polls</string> <string name="labs_enable_polls">Enable Polls</string>
<string name="poll_response_room_list_preview">Vote cast</string> <string name="poll_response_room_list_preview">Vote cast</string>
<string name="poll_end_room_list_preview">Poll ended</string> <string name="poll_end_room_list_preview">Poll ended</string>