mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 18:38:48 +01:00
Add comments
This commit is contained in:
parent
77461ded3a
commit
c2f9b3ba2e
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue