Add comments

This commit is contained in:
Ming Ming 2021-07-03 03:45:35 +08:00
parent 77461ded3a
commit c2f9b3ba2e

View file

@ -226,6 +226,7 @@ class _SignInState extends State<SignIn> {
}).then((result) {
if (result != null) {
// we've got a good account
// only signing in with app password would trigger distinct
final accounts = (Pref.inst().getAccounts([])..add(result)).distinct();
Pref.inst()
..setAccounts(accounts)