builds: migrate to dart 3.0/flutter 3.10
This commit is contained in:
parent
ab1e2d8db8
commit
1e0988dd4c
8 changed files with 106 additions and 106 deletions
|
|
@ -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,
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue