Move capability section above Server name and version section

This commit is contained in:
Benoit Marty 2021-03-01 11:51:56 +01:00
parent c152964323
commit 8b34caa0b1
1 changed files with 1 additions and 1 deletions

View File

@ -48,6 +48,7 @@ class HomeserverSettingsController @Inject constructor(
data ?: return
buildHeader(data)
buildCapabilities(data)
when (val federationVersion = data.federationVersion) {
is Loading,
is Uninitialized ->
@ -63,7 +64,6 @@ class HomeserverSettingsController @Inject constructor(
is Success ->
buildFederationVersion(federationVersion())
}
buildCapabilities(data)
}
private fun buildHeader(state: HomeServerSettingsViewState) {