|
|
@@ -13,7 +13,7 @@ import { CustomContentDialog } from '@kit.ArkUI'
|
|
|
export struct SettingPage {
|
|
|
@State showApiDialog: boolean = false
|
|
|
@State tempApiUrl: string = ''
|
|
|
- @State lyricApiUrl: string = PreferencesUtil.getStringSync('LRC_API', 'https://lrc.ss5.xyz/jsonapi')
|
|
|
+ @State lyricApiUrl: string = PreferencesUtil.getStringSync('LRC_API', '')
|
|
|
@State isBgPlayOpen: boolean = true //是否启用后台播放
|
|
|
@State isAutoRatate: boolean = true //是否启用自动横竖屏
|
|
|
@State isMemoryPlay: boolean = true //是否启用记忆播放
|
|
|
@@ -23,7 +23,7 @@ export struct SettingPage {
|
|
|
@State sortType: number = 4 //默认排序方式
|
|
|
@State showCoverApiDialog: boolean = false
|
|
|
@State tempCoverApiUrl: string = ''
|
|
|
- @State coverApiUrl: string = PreferencesUtil.getStringSync('COVER_API', 'https://lrc.ss5.xyz/cover')
|
|
|
+ @State coverApiUrl: string = PreferencesUtil.getStringSync('COVER_API', '')
|
|
|
@State apiDialogType: 'lyric' | 'cover' = 'lyric'
|
|
|
|
|
|
static readonly SORT_TYPE: string = 'musicSortType';
|