Skip to content

Commit f3b926d

Browse files
fix: correct typos in README and package.json description
1 parent 42497e4 commit f3b926d

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
React Native Pdf From Image Library
44
</h1>
55

6-
Generate PDF documents from an array images.
6+
Generate PDF documents from an array of images.
77

88
<p align="center">
99
<a href="https://www.npmjs.com/package/react-native-pdf-from-image">

android/src/main/java/com/pdffromimage/PdfFromImageModuleImpl.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ class PdfFromImageModuleImpl {
7979
document.writeTo(FileOutputStream(documentFile))
8080
document.close()
8181

82-
// create result map
8382
val filePath = documentFile.path
8483
resultMap.putString("filePath", filePath)
8584
} catch (e: FileNotFoundException) {

android/src/oldarch/java/com/pdffromimage/PdfFromImageModule.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import java.io.File
1212
class PdfFromImageModule(
1313
context: ReactApplicationContext,
1414
) : ReactContextBaseJavaModule(context) {
15-
// declare an instance of the implementation and use it in all the methods
1615
private var implementation: PdfFromImageModuleImpl = PdfFromImageModuleImpl()
1716

1817
override fun getName(): String = PdfFromImageModuleImpl.NAME

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-pdf-from-image",
33
"version": "0.3.3",
4-
"description": "Generate PDF documents from an array images.",
4+
"description": "Generate PDF documents from an array of images.",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",
77
"module": "./lib/module/index.js",

0 commit comments

Comments
 (0)