feat: Add WebSocket URL to env.example and refine notification handling logic

Changed files
+2 -2
lib
+2 -1
env.example
··· 1 - API_URL=https://grain.social 1 + API_URL=https://grain.social 2 + WS_URL=wss://notifications.grainsocial.network/ws
-1
lib/providers/notifications_provider.dart
··· 29 29 final notifications = await apiService.getNotifications(); 30 30 state = notifications; 31 31 } else { 32 - // You may need to adjust this if your WS sends a list or other format 33 32 final notification = Notification.fromJson(data); 34 33 state = [...state, notification]; 35 34 }