builds: migrate to dart 3.0/flutter 3.10

This commit is contained in:
lauren n. liberda 2023-05-15 16:52:03 +00:00 committed by Krille
commit 1e0988dd4c
8 changed files with 106 additions and 106 deletions

View file

@ -47,7 +47,6 @@ extension UiaRequestManager on MatrixState {
),
);
case AuthenticationTypes.emailIdentity:
final currentThreepidCreds = this.currentThreepidCreds;
if (currentThreepidCreds == null) {
return uiaRequest.cancel(
UiaException(L10n.of(widget.context)!.serverRequiresEmail),
@ -57,7 +56,7 @@ extension UiaRequestManager on MatrixState {
session: uiaRequest.session,
type: AuthenticationTypes.emailIdentity,
threepidCreds: ThreepidCreds(
sid: currentThreepidCreds.sid,
sid: currentThreepidCreds!.sid,
clientSecret: currentClientSecret,
),
);