BasedHardware / omi

AI wearables
https://omi.me
MIT License
3.64k stars 460 forks source link

Fix calendar issues #836

Closed mdmohsin7 closed 1 month ago

mdmohsin7 commented 1 month ago

Summary by Entelligence.AI

github-actions[bot] commented 1 month ago

Image description Entelligence.AI

Walkthrough

This update introduces significant improvements to the calendar access and event handling in the application. It includes changes for better permission checks, UI feedback, and event time calculations. A new package is used for managing calendar events, enhancing modularity and maintainability. Additionally, a new widget class has been introduced for displaying events in a list view.

Changes

Files Summary
app/ios/Podfile,
app/lib/providers/calendar_provider.dart,
app/lib/utils/features/calendar.dart,
app/lib/main.dart,
app/lib/pages/settings/calendar.dart
Introduced full calendar access permissions and improved calendar event handling. The code now uses a new plugin for managing calendar events, with enhanced permission checks and UI feedback. Event times are adjusted considering local timezone and UTC offset.
app/lib/pages/memory_detail/widgets.dart Introduced a new EventsListWidget class for displaying events in a list view, improving modularity and encapsulating the logic for rendering event items.

"In the realm of code, where logic is the mode, 🖥️
A calendar update takes the road, 📅
With permissions and events in a new abode, 🏠
And a list view for events, beautifully showed. 🎉"


Uplevel your code reviews with Entelligence.AI Pro ### Entelligence.AI Pro If you like this project, please support us by purchasing the [Pro version](https://Entelligence.AI.ai). The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, Entelligence.AI Pro is free for open source projects.