diff --git a/vector/src/main/java/im/vector/app/features/voicebroadcast/views/VoiceBroadcastMetadataView.kt b/vector/src/main/java/im/vector/app/features/voicebroadcast/views/VoiceBroadcastMetadataView.kt index e142cb15ce..c743d8a542 100644 --- a/vector/src/main/java/im/vector/app/features/voicebroadcast/views/VoiceBroadcastMetadataView.kt +++ b/vector/src/main/java/im/vector/app/features/voicebroadcast/views/VoiceBroadcastMetadataView.kt @@ -37,9 +37,9 @@ class VoiceBroadcastMetadataView @JvmOverloads constructor( ) var value: String - get() = views.metadataValue.text.toString() + get() = views.metadataText.text.toString() set(newValue) { - views.metadataValue.text = newValue + views.metadataText.text = newValue } init { @@ -61,6 +61,6 @@ class VoiceBroadcastMetadataView @JvmOverloads constructor( private fun setValue(typedArray: TypedArray) { val value = typedArray.getString(R.styleable.VoiceBroadcastMetadataView_metadataValue) - views.metadataValue.text = value + views.metadataText.text = value } } diff --git a/vector/src/main/res/layout/view_voice_broadcast_buffering.xml b/vector/src/main/res/layout/view_voice_broadcast_buffering.xml index c58858f033..e292169537 100644 --- a/vector/src/main/res/layout/view_voice_broadcast_buffering.xml +++ b/vector/src/main/res/layout/view_voice_broadcast_buffering.xml @@ -8,17 +8,16 @@ tools:parentTag="android.widget.LinearLayout">