refactor: Update SDK

This commit is contained in:
Christian Pauly 2021-05-20 13:59:55 +02:00
commit 91f52956f0
26 changed files with 57 additions and 187 deletions

View file

@ -51,7 +51,7 @@ class Settings3PidController extends State<Settings3Pid> {
final success = await showFutureLoadingDialog(
context: context,
future: () => Matrix.of(context).client.uiaRequestBackground(
(auth) => Matrix.of(context).client.addThirdPartyIdentifier(
(auth) => Matrix.of(context).client.add3PID(
clientSecret,
response.result.sid,
auth: auth,
@ -77,7 +77,7 @@ class Settings3PidController extends State<Settings3Pid> {
}
final success = await showFutureLoadingDialog(
context: context,
future: () => Matrix.of(context).client.deleteThirdPartyIdentifier(
future: () => Matrix.of(context).client.delete3pidFromAccount(
identifier.address,
identifier.medium,
));