fix feed not loading after login
This commit is contained in:
parent
e3f762d6bb
commit
ced500ec7b
|
@ -138,7 +138,10 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||
loggedIn = widget.api.loggedIn();
|
||||
});
|
||||
|
||||
if (loggedIn) timer.cancel();
|
||||
if (loggedIn) {
|
||||
timer.cancel();
|
||||
refresh().then((_) => setState(() => _fetched = true));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue