mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-06-16 23:42:12 +03:00
Merge branch '433' into 'master'
433 See merge request ultrasonic/ultrasonic!979
This commit is contained in:
commit
0b2c8eccfe
8
fastlane/metadata/android/en-US/changelogs/116.txt
Normal file
8
fastlane/metadata/android/en-US/changelogs/116.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Bug fixes
|
||||||
|
- Fix various crashes
|
||||||
|
|
||||||
|
Changes since 4.2.0
|
||||||
|
- #827: Make app full compliant Android Auto to publish in Play Store.
|
||||||
|
- #878: "Play shuffled" option for playlists always begins with the first track.
|
||||||
|
- #891: Dump config to log file when logging is enabled.
|
||||||
|
- #854: Remove Videos menu option for servers which don't support it.
|
@ -9,8 +9,8 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.moire.ultrasonic"
|
applicationId "org.moire.ultrasonic"
|
||||||
versionCode 115
|
versionCode 116
|
||||||
versionName "4.3.2"
|
versionName "4.3.3"
|
||||||
|
|
||||||
minSdkVersion versions.minSdk
|
minSdkVersion versions.minSdk
|
||||||
targetSdkVersion versions.targetSdk
|
targetSdkVersion versions.targetSdk
|
||||||
|
@ -51,11 +51,14 @@ class HeaderViewBinder(
|
|||||||
val resources = context.resources
|
val resources = context.resources
|
||||||
|
|
||||||
val artworkSelection = random.nextInt(item.childCount)
|
val artworkSelection = random.nextInt(item.childCount)
|
||||||
|
val size = Util.getAlbumImageSize(context)
|
||||||
|
|
||||||
imageLoaderProvider.executeOn {
|
imageLoaderProvider.executeOn {
|
||||||
it.loadImage(
|
it.loadImage(
|
||||||
holder.coverArtView, item.entries[artworkSelection], false,
|
holder.coverArtView,
|
||||||
Util.getAlbumImageSize(context)
|
item.entries[artworkSelection],
|
||||||
|
false,
|
||||||
|
size
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,13 +96,14 @@ class NowPlayingFragment : Fragment() {
|
|||||||
if (file != null) {
|
if (file != null) {
|
||||||
val title = file.title
|
val title = file.title
|
||||||
val artist = file.artist
|
val artist = file.artist
|
||||||
|
val size = getNotificationImageSize(requireContext())
|
||||||
|
|
||||||
imageLoaderProvider.executeOn {
|
imageLoaderProvider.executeOn {
|
||||||
it.loadImage(
|
it.loadImage(
|
||||||
nowPlayingAlbumArtImage,
|
nowPlayingAlbumArtImage,
|
||||||
file,
|
file,
|
||||||
false,
|
false,
|
||||||
getNotificationImageSize(requireContext())
|
size
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user