Skip to content

Commit

Permalink
Only store application context in ImageAssetManager (#2163)
Browse files Browse the repository at this point in the history
Fixes #2108
  • Loading branch information
gpeal authored Nov 14, 2022
1 parent 592c5f6 commit 1712683
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ImageAssetManager(Drawable.Callback callback, String imagesFolder,
return;
}

context = ((View) callback).getContext();
context = ((View) callback).getContext().getApplicationContext();
this.imageAssets = imageAssets;
setDelegate(delegate);
}
Expand Down

0 comments on commit 1712683

Please sign in to comment.