Skip to content

Commit

Permalink
fixing bug where prepopulate didn't clear IsCompleted on the item
Browse files Browse the repository at this point in the history
  • Loading branch information
Programming-With-Chris committed Aug 24, 2022
1 parent 7edbfff commit f17b227
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
*.userosscache
*.sln.docstates
*.DS_Store
*krogerapiconfig.json


# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
Expand Down Expand Up @@ -362,6 +364,5 @@ MigrationBackup/

# Fody - auto-generated XML schema
FodyWeavers.xsd
/Resources/Raw/krogerapiconfig.json
/ShoppingList/Resources/Raw/krogerapiconfig.json
/ShoppingList/Resources/Raw/krogerapiconfig-test.json
/ShoppingList/Controls/CircularButton.cs
1 change: 1 addition & 0 deletions ShoppingList/ViewModel/UserListDataInputViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public async void OnUserListCompleted()

foreach(var item in lastListOfThatType.Items)
{
item.IsCompleted = false;
userList.Items.Add(item);
item.ParentId = userList.Id;
_itemService.CreateItem(item);
Expand Down

0 comments on commit f17b227

Please sign in to comment.