Add missing proper configuration for manual publishing of alias

This commit is contained in:
Benoit Marty 2021-10-04 12:50:50 +02:00
parent 7636b4d7a8
commit 489aedbc37

View file

@ -175,6 +175,7 @@ class RoomAliasController @Inject constructor(
formEditTextItem { formEditTextItem {
id("publishManuallyEdit") id("publishManuallyEdit")
value(data.publishManuallyState.value) value(data.publishManuallyState.value)
maxLength(MatrixConstants.ALIAS_MAX_LENGTH)
hint(host.stringProvider.getString(R.string.room_alias_address_hint)) hint(host.stringProvider.getString(R.string.room_alias_address_hint))
inputType(InputType.TYPE_CLASS_TEXT) inputType(InputType.TYPE_CLASS_TEXT)
onTextChange { text -> onTextChange { text ->