mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-18 15:37:46 -05:00
miniplayer image improvements
This commit is contained in:
@@ -14,13 +14,6 @@ export const queryConfig = {
|
||||
fillWidth: 100,
|
||||
format: ImageFormat.Png
|
||||
},
|
||||
miniplayerArtwork: {
|
||||
height: 100,
|
||||
width: 100,
|
||||
fillHeight: 100,
|
||||
fillWidth: 100,
|
||||
format: ImageFormat.Jpg
|
||||
},
|
||||
playerArtwork: {
|
||||
fillHeight: 500,
|
||||
fillWidth: 500,
|
||||
|
||||
@@ -36,13 +36,14 @@ export function Miniplayer({ navigation }: { navigation : NavigationHelpers<Para
|
||||
.getItemImageUrlById(
|
||||
activeTrack!.AlbumId,
|
||||
ImageType.Primary,
|
||||
{ ...queryConfig.miniplayerArtwork }
|
||||
{ ...queryConfig.images }
|
||||
)
|
||||
}
|
||||
imageStyle={{
|
||||
width: queryConfig.miniplayerArtwork.width,
|
||||
height: queryConfig.miniplayerArtwork.height,
|
||||
borderRadius: 2
|
||||
width: 50,
|
||||
height: 50,
|
||||
borderRadius: 2,
|
||||
flex: 1
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user