mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-23 22:12:34 +01:00
fix: Import sdk
This commit is contained in:
parent
7b608a1391
commit
c779577f00
@ -177,9 +177,9 @@ class LoginController extends State<Login> {
|
||||
final clientSecret = DateTime.now().millisecondsSinceEpoch.toString();
|
||||
final response = await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => Matrix.of(context).client.requestTokenToResetPasswordEmail(
|
||||
clientSecret,
|
||||
future: () => Matrix.of(context).client.requestEmailToken(
|
||||
input.single,
|
||||
clientSecret,
|
||||
sendAttempt++,
|
||||
),
|
||||
);
|
||||
|
@ -33,9 +33,9 @@ class Settings3PidController extends State<Settings3Pid> {
|
||||
final clientSecret = DateTime.now().millisecondsSinceEpoch.toString();
|
||||
final response = await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => Matrix.of(context).client.requestTokenToRegisterEmail(
|
||||
clientSecret,
|
||||
future: () => Matrix.of(context).client.requestEmailToken(
|
||||
input.single,
|
||||
clientSecret,
|
||||
Settings3Pid.sendAttempt++,
|
||||
),
|
||||
);
|
||||
|
@ -168,9 +168,9 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
||||
final clientSecret =
|
||||
Matrix.of(context).client.generateUniqueTransactionId();
|
||||
final currentThreepidCreds =
|
||||
await Matrix.of(context).client.requestTokenToRegisterEmail(
|
||||
clientSecret,
|
||||
await Matrix.of(context).client.requestEmailToken(
|
||||
emailInput.single,
|
||||
clientSecret,
|
||||
0,
|
||||
);
|
||||
final auth = AuthenticationThreePidCreds(
|
||||
@ -205,7 +205,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
||||
cancelLabel: L10n.of(widget.context).cancel,
|
||||
)) {
|
||||
return uiaRequest.completeStage(
|
||||
AuthenticationData(session: uiaRequest.session),
|
||||
AuthenticationData(session: uiaRequest.session, type: ''),
|
||||
);
|
||||
} else {
|
||||
return uiaRequest.cancel();
|
||||
|
@ -726,12 +726,12 @@ packages:
|
||||
source: git
|
||||
version: "0.4.3"
|
||||
matrix_api_lite:
|
||||
dependency: transitive
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: matrix_api_lite
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.4.3"
|
||||
version: "0.4.2"
|
||||
matrix_link_text:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -49,6 +49,7 @@ dependencies:
|
||||
git:
|
||||
url: https://gitlab.com/famedly/company/frontend/famedlysdk.git
|
||||
ref: e13b00d127bc68c0659188b1e8aa25f510e9398a
|
||||
matrix_api_lite: 0.4.2
|
||||
matrix_link_text: ^1.0.2
|
||||
native_imaging:
|
||||
git: https://gitlab.com/famedly/libraries/native_imaging.git
|
||||
|
Loading…
Reference in New Issue
Block a user