Skip to content

Commit

Permalink
[iOS] Fix setTaskExtra
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Mar 16, 2016
1 parent a6f718e commit 999efcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function setTaskExtra(task, values, isNew) {
taskExtras[id] = values;
} else {
if (taskExtras[id].bytes && !values.bytes) {
taskExtras[id] = { ...taskExtras[id], state: values.bytes };
taskExtras[id] = { ...taskExtras[id], state: values.state };
} else {
taskExtras[id] = { ...taskExtras[id], ...values };
}
Expand Down

0 comments on commit 999efcb

Please sign in to comment.