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

Resolved issue #507 #804

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Samyakjain003
Copy link

When trying to create a task empty name or empty title, Snackbar appears and save not happening.And if you create a task, and then try to edit, then the task will not be able to save with an empty name or empty title and snackbar appears and says "Tasks cannot be empty".
#507 Resolved issue "todo-mvp-rxjava" Possible to create empty task.

@@ -104,6 +104,10 @@ class AddEditTaskViewModel(
val currentTitle = title.value
val currentDescription = description.value

if(currentTitle.isNullOrBlank()|| currentDescription.isNullOrBlank()){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like code formatting is missing in this line.

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

Successfully merging this pull request may close these issues.

2 participants