Skip to content

Commit

Permalink
fix(): fixes code that prevents caching
Browse files Browse the repository at this point in the history
closes #13
  • Loading branch information
ihadeed authored Feb 7, 2017
1 parent 26e453b commit 8476f6b
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 @@ -281,7 +281,7 @@ export class ImageLoader {
// file exists in cache

// now check if iOS device & using WKWebView Engine
if (cordova.device.platform === 'iOS' && (<any>window).webkit) {
if (cordova.platformId == 'ios' && (<any>window).webkit) {

// Read FileEntry and return as data url
fileEntry.file((file: Blob) => {
Expand Down

0 comments on commit 8476f6b

Please sign in to comment.