Commit 488f129c authored by Wilko Manger's avatar Wilko Manger

Update dependencies

parent 5d91cf0e
......@@ -29,19 +29,19 @@ List<TextSpan> spanFor(BuildContext context, MemberChangeEvent event,
style: style
);
final subject = TextSpan(
text: displayNameOrId(event.sender.id, event.content.displayName),
text: displayNameOf(event.content.subject),
style: style
);
var text;
if (event is DisplayNameChangeEvent) {
final oldName = TextSpan(
text: displayNameOrId(event.content.subjectId, event.oldName),
text: displayNameOrId(event.content.subject.id, event.oldSubjectName),
style: style
);
final newName = TextSpan(
text: displayNameOrId(event.content.subjectId, event.newName),
text: displayNameOf(event.content.subject),
style: style
);
......
......@@ -49,7 +49,7 @@ class ChatOverviewBloc {
.firstWhere(
(event) =>
(event is! MemberChangeEvent
|| event is JoinEvent && event.content.subjectId == _user.id)
|| event is JoinEvent && event.content.subject.id == _user.id)
&& event is! RedactionEvent,
orElse: () => null
);
......
......@@ -49,7 +49,7 @@ packages:
name: chopper
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0"
version: "2.3.1"
collection:
dependency: transitive
description:
......@@ -215,14 +215,14 @@ packages:
name: matrix_sdk
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.2"
version: "0.9.0"
matrix_sdk_sqflite:
dependency: "direct main"
description:
name: matrix_sdk_sqflite
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.0"
version: "0.6.0"
meta:
dependency: transitive
description:
......
......@@ -12,8 +12,8 @@ dependencies:
injector: ^1.0.6
matrix_sdk: ^0.8.2
matrix_sdk_sqflite: ^0.5.0
matrix_sdk: ^0.9.0
matrix_sdk_sqflite: ^0.6.0
rxdart: ^0.21.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment