mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-25 02:48:54 +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) {
|
}).then((result) {
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
// we've got a good account
|
// we've got a good account
|
||||||
|
// only signing in with app password would trigger distinct
|
||||||
final accounts = (Pref.inst().getAccounts([])..add(result)).distinct();
|
final accounts = (Pref.inst().getAccounts([])..add(result)).distinct();
|
||||||
Pref.inst()
|
Pref.inst()
|
||||||
..setAccounts(accounts)
|
..setAccounts(accounts)
|
||||||
|
|
Loading…
Reference in a new issue