FREELANCER: Fix Schedule Request Notifications Not Showing on First Load

Description

🐛 Bug Description

Schedule request notifications do not appear on the first click when accessing the notifications section. Users must click on "Schedule Requests" a second time for the content to load and display properly.

📱 Environment

  • App Version: 3.8.0

  • Platform: Flutter Mobile App

  • Component: Notifications > Schedule Requests

🔄 Steps to Reproduce

  1. Open the mobile app

  2. Navigate to the notifications section

  3. Click on "Schedule Requests"

  4. Observe that no content appears on first click

  5. Click on "Schedule Requests" again

  6. Content now loads and displays properly

✅ Expected Behavior

Schedule request notifications should load and display immediately on the first click.

❌ Actual Behavior

Schedule request notifications require a second click to load and display. The first click appears to have no effect or fails to initialize the content properly.

📹 Video Evidence

A screen recording demonstrating this issue has been attached to this ticket, showing the exact behavior described above.

🎯 Freelancer Task

This is a freelancer task focused on fixing the initialization/loading issue in the notifications system for schedule requests. The issue appears to be related to the first-time loading or state management of the schedule requests component.