Skip to content

Commit

Permalink
Fix typo in PhotoActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Román A. Sarria committed Jan 10, 2019
1 parent 656fc48 commit 441649a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
(1.1.21)
- Fix Typo in PhotoViewer.js
- Fix Typo in PhotoActivity.java
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8' ?>
<plugin id="com-sarriaroman-photoviewer" version="1.1.20" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<plugin id="com-sarriaroman-photoviewer" version="1.1.21" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>PhotoViewer</name>
<description>This plugin is intended to show a picture from an URL into a Photo Viewer with zoom features.</description>
<js-module name="PhotoViewer" src="www/PhotoViewer.js">
Expand Down
2 changes: 1 addition & 1 deletion src/android/PhotoActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 441649a

Please # to comment.