Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #218 from kozyrevsergey89/master
Browse files Browse the repository at this point in the history
fixes crash with completing and un-completing todo items
  • Loading branch information
JakeWharton authored Oct 2, 2017
2 parents 11595cd + 936ea4f commit 95b16e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public Builder description(String description) {
}

public Builder complete(boolean complete) {
values.put(COMPLETE, complete);
values.put(COMPLETE, complete ? Db.BOOLEAN_TRUE : Db.BOOLEAN_FALSE);
return this;
}

Expand Down

0 comments on commit 95b16e9

Please sign in to comment.