Fix formatting

This commit is contained in:
Steve Richter
2020-11-19 23:22:18 -05:00
committed by Deluan Quintão
parent 2397a7e464
commit 14525cd056
4 changed files with 17 additions and 11 deletions
+8 -2
View File
@@ -55,7 +55,9 @@ const Player = () => {
const queue = useSelector((state) => state.queue)
const current = queue.current || {}
const { authenticated } = useAuthState()
const showNotifications = useSelector((state) => state.settings.notifications || false)
const showNotifications = useSelector(
(state) => state.settings.notifications || false
)
const visible = authenticated && queue.queue.length > 0
const classes = useStyle({ visible })
@@ -233,7 +235,11 @@ const Player = () => {
})
}
if (showNotifications) {
sendNotification(info.name, `${info.singer} - ${info.album}`, baseUrl(info.cover))
sendNotification(
info.name,
`${info.singer} - ${info.album}`,
baseUrl(info.cover)
)
}
}
},