Fixes crashes with notifications

This commit is contained in:
stom79 2017-12-03 07:52:32 +01:00
parent 18bc478f16
commit 257e446033
1 changed files with 1 additions and 1 deletions

View File

@ -1034,7 +1034,7 @@ public class Helper {
if( url.startsWith("/") ){
url = "https://" + Helper.getLiveInstance(activity) + account.getAvatar();
}
Glide.with(profilePicture.getContext())
Glide.with(activity.getApplicationContext())
.load(url)
.into(profilePicture);
String urlHeader = account.getHeader();