feat: updates (#1530)

* feat: 支持repeat mode切换

* feat: 歌单页面的播放按钮可以暂停

* fix: 专辑页面播放按钮

考虑私人FM的情况
解决按钮闪烁问题

* fix: SvgName报错

* update
This commit is contained in:
memorydream 2022-04-15 00:34:07 +08:00 committed by GitHub
parent 13281d3f08
commit 24af937e70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 96 additions and 30 deletions

View file

@ -1,5 +1,5 @@
import CoverRow, { Subtitle } from '@/renderer/components/CoverRow'
import SvgIcon from '@/renderer/components/SvgIcon'
import SvgIcon, { SvgName } from '@/renderer/components/SvgIcon'
import useUserAlbums from '@/renderer/hooks/useUserAlbums'
import useLyric from '@/renderer/hooks/useLyric'
import usePlaylist from '@/renderer/hooks/usePlaylist'
@ -105,7 +105,7 @@ const OtherCard = ({
className,
}: {
name: string
icon: string
icon: SvgName
className?: string
}) => {
return (