Skip to content

Commit

Permalink
fix(image-loader): Wrong path with Ionic on Android (#194)
Browse files Browse the repository at this point in the history
* fix(image-loader): Wrong path with Ionic on Android

* add android check and reverted WkWebView check
  • Loading branch information
flore2003 authored and madoBaker committed Sep 19, 2018
1 parent e22aa57 commit d4132f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/image-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class ImageLoader {

private get isIonicWKWebView(): boolean {
return (
this.isWKWebView &&
(this.isWKWebView || this.platform.is('android')) &&
(location.host === 'localhost:8080' || (<any>window).LiveReload)
);
}
Expand Down

0 comments on commit d4132f1

Please sign in to comment.