Enhance profile management and UI integration
This update introduces significant improvements to the profile management system and enhances the user interface across various components. Key changes include:
- Integrated the
ProfileProviderto manage user profile data more effectively, ensuring that profile information is fetched and updated seamlessly during user interactions. - Updated the
ProfileScreento conditionally display user information based on authentication status, improving the user experience for both logged-in and guest users. - Enhanced the
PointsScreenand related widgets to dynamically reflect user points balance and history, providing a clearer view of user rewards. - Refactored the
SettingsScreento show account options for authenticated users while offering login and registration options for guests. - Improved the handling of user location in the
MapScreenby utilizing profile data when available, enhancing location accuracy for users.
These changes aim to provide a more cohesive and responsive user experience while ensuring that profile-related functionalities are robust and user-friendly.