Skip to content

Commit 079ff19

Browse files
committed
Update README.md
1 parent 4720135 commit 079ff19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ import RNFS from "react-native-fs"
119119
this.svg.toDataURL((data) => {
120120
RNFS.writeFile(RNFS.CachesDirectoryPath+"/some-name.png", data, 'base64')
121121
.then((success) => {
122-
return CameraRoll.saveToCameraRoll(RNFS.CachesDirectoryPath+"/some-name", 'photo')
122+
return CameraRoll.saveToCameraRoll(RNFS.CachesDirectoryPath+"/some-name.png", 'photo')
123123
})
124124
.then(() => {
125125
this.setState({ busy: false, imageSaved: true })

0 commit comments

Comments
 (0)