fix: 3pid

This commit is contained in:
Christian Pauly 2021-02-27 09:42:21 +01:00
parent 23f6e4ae6f
commit 887f3b1ef4

View File

@ -46,22 +46,6 @@ class _Settings3PidState extends State<Settings3Pid> {
useRootNavigator: false, useRootNavigator: false,
); );
if (ok == null) return; if (ok == null) return;
final password = await showTextInputDialog(
context: context,
title: L10n.of(context).pleaseEnterYourPassword,
okLabel: L10n.of(context).ok,
cancelLabel: L10n.of(context).cancel,
useRootNavigator: false,
textFields: [
DialogTextField(
hintText: '******',
obscureText: true,
minLines: 1,
maxLines: 1,
),
],
);
if (password == null) return;
final success = await showFutureLoadingDialog( final success = await showFutureLoadingDialog(
context: context, context: context,
future: () => Matrix.of(context).client.uiaRequestBackground( future: () => Matrix.of(context).client.uiaRequestBackground(