Merge branch 'development' into fix/move-create-diary-to-modal

This commit is contained in:
Gustavo Henrique Miranda
2025-07-15 17:25:06 -03:00
committed by GitHub
@@ -46,7 +46,9 @@ class NewDiaryModal(ModalScreen[str]):
def action_create_diary(self) -> None:
diary_name = self.name_input.value.strip()
if diary_name:
self.call_later(self._async_create_diary, diary_name)
else:
self.notify("Diary name cannot be empty.", severity="warning")
self.name_input.focus()
@@ -75,3 +77,4 @@ class NewDiaryModal(ModalScreen[str]):