mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-06 00:02:48 +02:00
Crash when opening room addresses screen with no internet connection
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user