mirror of
https://github.com/gmbrax/Pilgrim.git
synced 2026-11-09 17:20:17 +00:00
Started integrating the database to the UI so it can save the data into the database
This commit is contained in:
parent
4a5da4d44c
commit
f1195391db
@@ -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
|
||||
|
||||
@@ -387,4 +387,4 @@ Screen.-modal {
|
||||
.RenameEntryModal-cancel-button {
|
||||
margin: 0 1;
|
||||
width: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user