mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 23:02:43 +01:00
now playing header now shows context menu
fixed now playing image gradient
This commit is contained in:
@@ -18,7 +18,6 @@ const ImageGradientBackground: React.FC<{
|
||||
|
||||
useEffect(() => {
|
||||
async function getColors() {
|
||||
console.log(`imagePath: ${imagePath}`)
|
||||
if (imagePath === undefined) {
|
||||
return
|
||||
}
|
||||
@@ -27,7 +26,6 @@ const ImageGradientBackground: React.FC<{
|
||||
|
||||
let res: AndroidImageColors
|
||||
if (cachedResult) {
|
||||
console.log(`cachedResult: ${JSON.stringify(cachedResult)}`)
|
||||
res = cachedResult as AndroidImageColors
|
||||
} else {
|
||||
const path = `file://${imagePath}`
|
||||
@@ -35,7 +33,6 @@ const ImageGradientBackground: React.FC<{
|
||||
cache: true,
|
||||
key: imagePath,
|
||||
})) as AndroidImageColors
|
||||
console.log(`res: ${JSON.stringify(res)}`)
|
||||
}
|
||||
|
||||
if (res.muted && res.muted !== '#000000') {
|
||||
|
||||
Reference in New Issue
Block a user