Fix user profile images

This commit is contained in:
h4h13 2019-12-19 21:18:11 +05:30
parent f0b73eeb29
commit 598364b8e0
4 changed files with 24 additions and 42 deletions

View file

@ -80,7 +80,7 @@ class CustomArtistImageUtil private constructor(context: Context) {
if (succesful) {
mPreferences.edit().putBoolean(getFileName(artist), true).commit()
ArtistSignatureUtil.getInstance(App.getContext()).updateArtistSignature(artist.name)
App.getContext().getContentResolver().notifyChange(Uri.parse("content://media"), null) // trigger media store changed to force artist image reload
App.getContext().contentResolver.notifyChange(Uri.parse("content://media"), null) // trigger media store changed to force artist image reload
}
return null
}