Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Avoid creating tasks with empty title and description #280

Open
jsericksk opened this issue Feb 20, 2022 · 0 comments
Open

Avoid creating tasks with empty title and description #280

jsericksk opened this issue Feb 20, 2022 · 0 comments

Comments

@jsericksk
Copy link

It is possible to create tasks even leaving the title and description empty, with blank spaces. It could be fixed by adding trim() in the Task class:

val isEmpty
        get() = title.trim().isEmpty() || description.trim().isEmpty()

ezgif-1-10b98ac122

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant