From 441649a4de015a40518f895fa0f8a0993d1c0e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rom=C3=A1n=20A=2E=20Sarria?= Date: Thu, 10 Jan 2019 09:21:19 -0300 Subject: [PATCH] Fix typo in PhotoActivity.java --- README.md | 5 +++-- package.json | 2 +- plugin.xml | 2 +- src/android/PhotoActivity.java | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b03f9c0..050c865 100644 --- a/README.md +++ b/README.md @@ -91,5 +91,6 @@ PhotoViewer.show('http://my_site.com/my_image.jpg', 'Optional Title', options); - Support for Headers - Enable or Disable Picasso Options ( Only Android ): fit, centerInside, centerCrop. -(1.1.20) -- Fix Typo in PhotoViewer.js \ No newline at end of file +(1.1.21) +- Fix Typo in PhotoViewer.js +- Fix Typo in PhotoActivity.java \ No newline at end of file diff --git a/package.json b/package.json index 5894412..ee8f34e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com-sarriaroman-photoviewer", - "version": "1.1.20", + "version": "1.1.21", "description": "This plugin is intended to show a picture from an URL into a Photo Viewer with zoom features.", "cordova": { "id": "com-sarriaroman-photoviewer", diff --git a/plugin.xml b/plugin.xml index 1f81956..ab4e08b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ - + PhotoViewer This plugin is intended to show a picture from an URL into a Photo Viewer with zoom features. diff --git a/src/android/PhotoActivity.java b/src/android/PhotoActivity.java index 52e81e7..ae0e980 100644 --- a/src/android/PhotoActivity.java +++ b/src/android/PhotoActivity.java @@ -166,7 +166,7 @@ private void hideLoadingAndUpdate() { mAttacher.update(); } - private Piccasso setOptions(Piccasso picasso) throws JSONException { + private Picasso setOptions(Picasso picasso) throws JSONException { if(this.pOptions.has("fit") && this.pOptions.optBoolean("fit")) { picasso.fit(); }