Notification indicator

This commit is contained in:
2025-01-20 16:52:53 +08:00
parent 068ddcdcdc
commit 7f58710c6f
4 changed files with 92 additions and 6 deletions

View File

@ -279,6 +279,7 @@ class _AppSplashScreenState extends State<_AppSplashScreen> {
await ws.tryConnect();
if (!mounted) return;
final notify = context.read<NotificationProvider>();
notify.listen();
await notify.registerPushNotifications();
} catch (err) {
if (!mounted) return;