Merge pull request #1675 from saliouseck2009/patch-1

change name of the update method to avoid confusion
This commit is contained in:
Simon Binder 2022-02-12 00:03:36 +01:00 committed by GitHub
commit 5e06f8dfa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ Future moveImportantTasksIntoCategory(Category target) {
);
}
Future update(Todo entry) {
Future updateTodo(Todo entry) {
// using replace will update all fields from the entry that are not marked as a primary key.
// it will also make sure that only the entry with the same primary key will be updated.
// Here, this means that the row that has the same id as entry will be updated to reflect