Skip to content

Commit 4f79ad1

Browse files
committed
style(VoiceAndroidView): Consistently use block body
1 parent 33f3e8d commit 4f79ad1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/src/main/kotlin/com/algolia/instantsearch/voice/ui/VoiceAndroidView.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ class VoiceAndroidView(
4242
view.voiceInput.subtitle.text = subtitle
4343
}
4444

45-
override fun setSubtitle(subtitle: VoiceUI.Subtitle) = view.voiceInput.subtitle.setText(subtitle.resource)
45+
override fun setSubtitle(subtitle: VoiceUI.Subtitle) {
46+
view.voiceInput.subtitle.setText(subtitle.resource)
47+
}
4648

4749
override fun setSuggestionVisibility(isVisible: Boolean) {
4850
view.voiceInput.suggestions.visibility = if (isVisible) View.VISIBLE else View.INVISIBLE

0 commit comments

Comments
 (0)