build: (deps): bump matrix from 6.2.0 to 7.0.0
Bumps [matrix](https://github.com/famedly/matrix-dart-sdk) from 6.2.0 to 7.0.0. - [Release notes](https://github.com/famedly/matrix-dart-sdk/releases) - [Changelog](https://github.com/famedly/matrix-dart-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/famedly/matrix-dart-sdk/compare/v6.2.0...v7.0.0) --- updated-dependencies: - dependency-name: matrix dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
27125f8762
commit
7b2bffc195
8 changed files with 35 additions and 30 deletions
|
|
@ -1155,7 +1155,7 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
true,
|
||||
false,
|
||||
);
|
||||
users.sort((a, b) => a.powerLevel.compareTo(b.powerLevel));
|
||||
users.sort((a, b) => a.powerLevel.level.compareTo(b.powerLevel.level));
|
||||
final via = users
|
||||
.map((user) => user.id.domain)
|
||||
.whereType<String>()
|
||||
|
|
|
|||
|
|
@ -385,17 +385,20 @@ class Message extends StatelessWidget {
|
|||
? const SizedBox(height: 12)
|
||||
: Row(
|
||||
children: [
|
||||
if (sender.powerLevel >= 50)
|
||||
if (sender.powerLevel.role !=
|
||||
PowerLevelRole.user)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
right: 2.0,
|
||||
),
|
||||
child: Icon(
|
||||
sender.powerLevel >= 100
|
||||
sender.powerLevel.role ==
|
||||
PowerLevelRole
|
||||
.moderator
|
||||
? Icons
|
||||
.admin_panel_settings
|
||||
.add_moderator_outlined
|
||||
: Icons
|
||||
.add_moderator_outlined,
|
||||
.admin_panel_settings,
|
||||
size: 14,
|
||||
color: theme
|
||||
.colorScheme
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue