🐛 Fix error when went to publisher page from account page

This commit is contained in:
2025-01-25 14:27:09 +08:00
parent cbd1eaf1af
commit 950612dc07
4 changed files with 19 additions and 12 deletions

View File

@ -260,7 +260,7 @@ class _AppSplashScreenState extends State<_AppSplashScreen> {
try {
final cfg = context.read<ConfigProvider>();
WidgetsBinding.instance.addPostFrameCallback((_) {
cfg.calcDrawerSize(context);
cfg.calcDrawerSize(context, withMediaQuery: true);
});
final home = context.read<HomeWidgetProvider>();
await home.initialize();