File tree 4 files changed +5
-3
lines changed
stream-chat-android-compose/src/main
java/io/getstream/chat/android/compose/ui/messages/attachments/poll
stream-chat-android-ui-components/src/main/res
4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public fun PollOptionList(
136
136
PollOptionInput (
137
137
modifier = Modifier .weight(1f ),
138
138
value = item.title,
139
- description = stringResource(id = R .string.stream_compose_poll_option_description ),
139
+ description = stringResource(id = R .string.stream_compose_poll_option_placeholder ),
140
140
innerPadding = if (item.pollOptionError == null ) {
141
141
PaddingValues (horizontal = 16 .dp, vertical = 18 .dp)
142
142
} else {
Original file line number Diff line number Diff line change 207
207
<string name =" stream_compose_poll_questions_description" translatable =" false" >Ask a question</string >
208
208
<string name =" stream_compose_poll_option_title" translatable =" false" >Options</string >
209
209
<string name =" stream_compose_poll_option_description" translatable =" false" >Add an option</string >
210
+ <string name =" stream_compose_poll_option_placeholder" translatable =" false" >Add an option</string >
210
211
<string name =" stream_compose_poll_option_error_duplicated" translatable =" false" >This is already an option</string >
211
212
<string name =" stream_compose_poll_option_error_exceed" translatable =" false" >Type a number under %d</string >
212
213
<string name =" stream_compose_poll_option_discard_dialog_title" translatable =" false" >Discard poll</string >
Original file line number Diff line number Diff line change 23
23
android : id =" @+id/option"
24
24
android : layout_width =" match_parent"
25
25
android : layout_height =" 56dp"
26
- android : hint =" @string/stream_ui_poll_add_an_option_label "
26
+ android : hint =" @string/stream_ui_poll_add_an_option_placeholder "
27
27
android : layout_marginTop =" @dimen/stream_ui_spacing_small"
28
28
android : padding =" @dimen/stream_ui_spacing_small"
29
29
android : gravity =" center_vertical"
Original file line number Diff line number Diff line change 18
18
<string name =" stream_ui_poll_question_label" >Question</string >
19
19
<string name =" stream_ui_poll_ask_a_question_hint" >Ask a question</string >
20
20
<string name =" stream_ui_poll_options_label" >Options</string >
21
- <string name =" stream_ui_poll_add_an_option_label" >Add an Option</string >
21
+ <string name =" stream_ui_poll_add_an_option_label" >Add an option</string >
22
+ <string name =" stream_ui_poll_add_an_option_placeholder" >Add an option</string >
22
23
<string name =" stream_ui_poll_multiple_answers_label" >Multiple answers</string >
23
24
<string name =" stream_ui_poll_max_number_of_answers_hint" >Max number of answers</string >
24
25
<string name =" stream_ui_poll_anonymous_poll_label" >Anonymous poll</string >
You can’t perform that action at this time.
0 commit comments