Skip to content

Refactors LocationWidget to enhance location handling and lifecycle management

Ahmed Reda requested to merge development into staging

This update includes several key changes:

  • Converts LocationWidget from a StatelessWidget to a StatefulWidget to manage state effectively.
  • Implements lifecycle methods to check location permissions and fetch the current location when the app resumes.
  • Adds a method to format addresses more comprehensively, improving the display of location information.
  • Updates the loading indicator and error handling in the location fetching process to enhance user experience.

These changes aim to provide a more robust and user-friendly location experience within the application.

Merge request reports

Loading