Crash when opening room addresses screen with no internet connection
This commit is contained in:
parent
07d6eaacf9
commit
5b149c8a34
1
changelog.d/3634.bugfix
Normal file
1
changelog.d/3634.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Crash when opening room addresses screen with no internet connection
|
@ -99,6 +99,7 @@ class RoomAliasController @Inject constructor(
|
||||
}
|
||||
is Fail -> {
|
||||
errorWithRetryItem {
|
||||
id("rd_error")
|
||||
text(host.stringProvider.getString(R.string.room_alias_publish_to_directory_error,
|
||||
host.errorFormatter.toHumanReadable(data.roomDirectoryVisibility.error)))
|
||||
}
|
||||
@ -119,7 +120,6 @@ class RoomAliasController @Inject constructor(
|
||||
data.canonicalAlias
|
||||
?.takeIf { it.isNotEmpty() }
|
||||
?.let { canonicalAlias ->
|
||||
|
||||
profileActionItem {
|
||||
id("canonical")
|
||||
title(data.canonicalAlias)
|
||||
|
Loading…
x
Reference in New Issue
Block a user