mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
don't load thumbnail into notification in data saver mode
This commit is contained in:
parent
3b79c39a91
commit
a8bfa8fc56
@ -109,6 +109,8 @@ class NowPlayingNotification(
|
||||
player: Player,
|
||||
callback: PlayerNotificationManager.BitmapCallback
|
||||
): Bitmap? {
|
||||
if (PreferenceHelper.getBoolean(PreferenceKeys.DATA_SAVER_MODE, false)) return null
|
||||
|
||||
var bitmap: Bitmap? = null
|
||||
|
||||
val request = ImageRequest.Builder(context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user