Merge branch 'development' into fix/binding-not-working

This commit is contained in:
Gustavo Henrique Miranda
2025-07-06 03:10:24 -03:00
committed by GitHub
8 changed files with 276 additions and 65 deletions
@@ -329,9 +329,11 @@ class EditEntryScreen(Screen):
all_photos = photo_service.read_all()
self.cached_photos = [photo for photo in all_photos if photo.fk_travel_diary_id == diary_id]
self.cached_photos.sort(key=lambda x: x.id)
return self.cached_photos
except Exception as e:
self.notify(f"Error loading photos: {str(e)}")
return []
def action_toggle_sidebar(self):