[Web] Fix missing MatrixState in context because of wrong order in widget tree
Took 21 minutes
This commit is contained in:
parent
a512dc6dbd
commit
a980217779
10 changed files with 113 additions and 89 deletions
|
|
@ -7,7 +7,7 @@ extension LocalizedRoomDisplayname on Room {
|
|||
if ((this.name?.isEmpty ?? true) &&
|
||||
(this.canonicalAlias?.isEmpty ?? true) &&
|
||||
!this.isDirectChat &&
|
||||
this.mHeroes.isNotEmpty) {
|
||||
(this.mHeroes != null && this.mHeroes.isNotEmpty)) {
|
||||
return I18n.of(context).groupWith(this.displayname);
|
||||
}
|
||||
return this.displayname;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue