]> git.proxmox.com Git - flutter/proxmox_login_manager.git/commit
TFA: fix awaiting TOTP verification page
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 10 Jun 2021 09:54:15 +0000 (11:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 10 Jun 2021 09:54:18 +0000 (11:54 +0200)
commitdf1d14b39af08bbbc296e78caf2c574c22c565af
tree6767d02f51ea7424f5fbab3ea15b86a49daacdac
parentd3720363e201e956691cfbe7b7bc32b219e74381
TFA: fix awaiting TOTP verification page

The cast to the FutureOr<> type confuses dart/flutter nowadays:

flutter: type 'Future<dynamic>' is not a subtype of type 'FutureOr<ProxmoxApiClient>' in type cast
flutter: #0      _ProxmoxLoginPageState._onLoginButtonPressed (package:proxmox_login_manager/proxmox_login_form.dart:406:12)
<asynchronous suspension>

just drop it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
lib/proxmox_login_form.dart