Skip to content

Missing FriendsController injection in ProfileScreen#793

Open
mahmoudr80 wants to merge 1 commit into
AOSSIE-Org:devfrom
mahmoudr80:friends_controller_fix
Open

Missing FriendsController injection in ProfileScreen#793
mahmoudr80 wants to merge 1 commit into
AOSSIE-Org:devfrom
mahmoudr80:friends_controller_fix

Conversation

@mahmoudr80
Copy link
Copy Markdown

Description

Opening the Profile screen causes a runtime error:
Fixes # (issue)
Added controller registration in ProfileBinding

Type of change

Please delete options that are not relevant.

  • [o] Bug fix (non-breaking CHANGE which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [o] Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

Ran the app locally using:

flutter pub get
flutter run
Navigated to the Profile Screen
Verified that:
The screen loads without crashing
The error "FriendsController not found" no longer occurs
Tested on emulator/device

Please include screenshots below if applicable.

Checklist:

  • [o] My code follows the style guidelines of this project
  • [o] I have performed a self-review of my own code
  • [o] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [o] My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • [o] Any dependent changes have been merged and published in downstream modules
  • [o] I have checked my code and corrected any misspellings

Maintainer Checklist

@mahmoudr80 mahmoudr80 requested a review from M4dhav as a code owner March 25, 2026 10:54
@4555jan
Copy link
Copy Markdown
Contributor

4555jan commented May 6, 2026

@mahmoudr80 the actual fix only requires changes to profile_binding.dart. Please remove all unrelated file changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants