Compare commits

..

No commits in common. "4f153c5a5bd1241bfd68e6b1dab50c3418bdaff3" and "f838a5b42132d76877df8080b02f1ae4e7be71bc" have entirely different histories.

1 changed files with 0 additions and 3 deletions

View File

@ -46,9 +46,7 @@ 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()
@ -77,4 +75,3 @@ class NewDiaryModal(ModalScreen[str]):