Fix scaling of logos
This commit is contained in:
@@ -184,7 +184,8 @@ const DeviceCard = ({ device }: IProps) => {
|
||||
src={nowPlayingName.image}
|
||||
style={{
|
||||
maxHeight: '24px',
|
||||
maxWidth: '130px'
|
||||
maxWidth: '130px',
|
||||
alignSelf: 'flex-start'
|
||||
}}
|
||||
alt='Media Icon'
|
||||
/>
|
||||
|
||||
@@ -22,7 +22,8 @@ const getItemCountsQuery = (
|
||||
) => queryOptions({
|
||||
queryKey: [ 'ItemCounts', params ],
|
||||
queryFn: ({ signal }) => fetchItemCounts(api!, params, { signal }),
|
||||
enabled: !!api
|
||||
enabled: !!api,
|
||||
refetchOnWindowFocus: false
|
||||
});
|
||||
|
||||
export const useItemCounts = (
|
||||
|
||||
@@ -19,7 +19,8 @@ const getSystemStorageQuery = (
|
||||
) => queryOptions({
|
||||
queryKey: [ 'SystemStorage' ],
|
||||
queryFn: ({ signal }) => fetchSystemStorage(api!, { signal }),
|
||||
enabled: !!api
|
||||
enabled: !!api,
|
||||
refetchOnWindowFocus: false
|
||||
});
|
||||
|
||||
export const useSystemStorage = () => {
|
||||
|
||||
Reference in New Issue
Block a user