Post link expand

 Cache link expansion image
This commit is contained in:
2024-08-19 19:56:44 +08:00
parent cf1cfecb08
commit e45d9b39d5
3 changed files with 29 additions and 11 deletions

View File

@ -33,9 +33,11 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer> {
final resp = await provider.getCurrentStatus();
final status = AccountStatus.fromJson(resp.body);
setState(() {
_accountStatus = status;
});
if (mounted) {
setState(() {
_accountStatus = status;
});
}
}
void _closeDrawer() {