Started integrating the database to the UI so it can save the data into the database

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda
2025-06-25 14:58:54 -03:00
parent 4a5da4d44c
commit f1195391db
5 changed files with 15 additions and 10 deletions
+2 -2
View File
@@ -127,8 +127,8 @@ class DiaryListScreen(Screen):
service_manager = self.app.service_manager
travel_diary_service = service_manager.get_travel_diary_service()
# Uses async method
diaries = await travel_diary_service.async_read_all()
# Usa método síncrono agora
diaries = travel_diary_service.read_all()
# Saves current state
current_diary_id = None