|
|
@@ -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 //是否启用记忆播放
|
|
|
@@ -22,7 +22,7 @@ export struct SettingPage {
|
|
|
@State isMusicBGCover: boolean = true //播放背景随封面
|
|
|
@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 IS_BGPLAY_OPEN: string = 'isBgPlayOpen';
|
|
|
static readonly IS_AUTO_RATATE: string = 'isAutoRatate';
|