diff --git a/android/src/main/java/com/dylanvann/fastimage/FastImageViewManager.java b/android/src/main/java/com/dylanvann/fastimage/FastImageViewManager.java index 1c3ea78..d2a123b 100644 --- a/android/src/main/java/com/dylanvann/fastimage/FastImageViewManager.java +++ b/android/src/main/java/com/dylanvann/fastimage/FastImageViewManager.java @@ -142,6 +142,7 @@ class FastImageViewManager extends SimpleViewManager implement Glide .with(view.getContext().getApplicationContext()) .load(glideUrl) + .dontTransform() .priority(priority) .placeholder(TRANSPARENT_DRAWABLE) .listener(LISTENER) diff --git a/example/index.js b/example/index.js index 0bb7b32..8e0f705 100644 --- a/example/index.js +++ b/example/index.js @@ -1,4 +1,4 @@ -import { AppRegistry } from 'react-native'; -import App from './App'; +import { AppRegistry } from 'react-native' +import App from './App' -AppRegistry.registerComponent('example', () => App); +AppRegistry.registerComponent('example', () => App) diff --git a/package.json b/package.json index d1f72ba..fec4bab 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,11 @@ "url": "git+https://github.com/DylanVann/react-native-fast-image.git" }, "scripts": { - "format": "prettier --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./server/*.js", + "format": "prettier --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./example/fastImage/*.js ./server/*.js", "prepare": "git submodule update --init --recursive", "test": "yarn run test:pretty && yarn run test:jest", "test:jest": "jest *.js", - "test:pretty": "prettier-check --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./server/*.js" + "test:pretty": "prettier-check --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./example/fastImage/*.js ./server/*.js" }, "dependencies": { "prop-types": "^15.5.10"