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

Avoid creating tasks with empty title and description #280

@jsericksk

Description

@jsericksk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions