Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant