Renaming
This commit is contained in:
parent
3a06ef3959
commit
0a9b234272
|
@ -21,7 +21,7 @@ import im.vector.app.core.platform.VectorViewModelAction
|
|||
sealed class RoomAliasAction : VectorViewModelAction {
|
||||
// Canonical
|
||||
object ToggleManualPublishForm : RoomAliasAction()
|
||||
data class SetNewAlias(val aliasLocalPart: String) : RoomAliasAction()
|
||||
data class SetNewAlias(val alias: String) : RoomAliasAction()
|
||||
object AddAlias : RoomAliasAction()
|
||||
data class RemoveAlias(val alias: String) : RoomAliasAction()
|
||||
data class SetCanonicalAlias(val canonicalAlias: String?) : RoomAliasAction()
|
||||
|
|
|
@ -181,7 +181,7 @@ class RoomAliasViewModel @AssistedInject constructor(@Assisted initialState: Roo
|
|||
private fun handleSetNewAlias(action: RoomAliasAction.SetNewAlias) {
|
||||
setState {
|
||||
copy(
|
||||
publishManuallyState = RoomAliasViewState.AddAliasState.Editing(action.aliasLocalPart, Uninitialized)
|
||||
publishManuallyState = RoomAliasViewState.AddAliasState.Editing(action.alias, Uninitialized)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue