chore: readme usage use recommended `save()` (#231)

This commit is contained in:
zxcpoiu 2020-09-29 19:55:10 +08:00 committed by GitHub
parent 24fa8aaa12
commit 98bfdbf49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ async function savePicture() {
return;
}
CameraRoll.saveToCameraRoll(tag, [type]);
CameraRoll.save(tag, { type, album })
};
```