Fix logic whether to showArtistPicture
This commit is contained in:
parent
31a1fdace1
commit
b11694d6a2
|
@ -110,9 +110,11 @@ class ArtistRowBinder(
|
|||
}
|
||||
|
||||
private fun showArtistPicture(): Boolean {
|
||||
val isOffline = ActiveServerProvider.isOffline()
|
||||
val isOnline = !ActiveServerProvider.isOffline()
|
||||
val shouldShowArtistPicture = Settings.shouldShowArtistPicture
|
||||
return (!isOffline && shouldShowArtistPicture) || Settings.useId3TagsOffline
|
||||
|
||||
val id3Enabled = (isOnline && Settings.shouldUseId3Tags) || Settings.useId3TagsOffline
|
||||
return id3Enabled && shouldShowArtistPicture
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue