Stopped creating Project and Task with blank name

This commit is contained in:
Anis Ahmad
2020-06-06 12:57:29 +06:00
parent 032a53d1c3
commit 62d04b2963
11 changed files with 31 additions and 14 deletions

View File

@@ -40,9 +40,9 @@ func makeLightTextInput(placeholder string) *tview.InputField {
func parseDateInputOrCurrent(inputText string) time.Time {
if date, err := time.Parse(dateLayoutISO, inputText); err == nil {
return date
} else {
return time.Now()
}
return time.Now()
}
func showMessage(text string) {