Răsfoiți Sursa

更新播放器小部件的歌曲标题和艺术家名称为“未知歌曲”和“未知歌手”,以提高用户体验和一致性。

chendeben 1 an în urmă
părinte
comite
943a339e9d

+ 2 - 2
entry/src/main/ets/widget/pages/PlayerWidgetMedium.ets

@@ -38,8 +38,8 @@ struct PlayerWidgetMedium {
   
   // VideoItem 主要数据
   @LocalStorageProp('id') songId: string = '';
-  @LocalStorageProp('name') songTitle: string = 'Dream It Possible';
-  @LocalStorageProp('artist') songArtist: string = 'Delacey';
+  @LocalStorageProp('name') songTitle: string = '未知歌曲';
+  @LocalStorageProp('artist') songArtist: string = '未知歌手';
   @LocalStorageProp('album') songAlbum: string = '未知专辑';
   @LocalStorageProp('pixelMapPath') coverImage: string = '';
   @LocalStorageProp('duration') songDuration: number = 0;

+ 2 - 2
entry/src/main/ets/widget/pages/PlayerWidgetRectangle.ets

@@ -33,8 +33,8 @@ struct PlayerWidgetRectangle {
 
   // VideoItem 主要数据
   @LocalStorageProp('id') songId: string = '';
-  @LocalStorageProp('name') songTitle: string = 'Dream It Possible';
-  @LocalStorageProp('artist') songArtist: string = 'Delacey';
+  @LocalStorageProp('name') songTitle: string = '未知歌曲';
+  @LocalStorageProp('artist') songArtist: string = '未知歌手';
   @LocalStorageProp('album') songAlbum: string = '未知专辑';
   @LocalStorageProp('pixelMapPath') coverImage: string = '';
   @LocalStorageProp('duration') songDuration: number = 0;

+ 2 - 2
entry/src/main/ets/widget/pages/PlayerWidgetSmall.ets

@@ -12,8 +12,8 @@ struct PlayerWidgetSmall {
 
   // VideoItem 主要数据
   @LocalStorageProp('id') songId: string = '';
-  @LocalStorageProp('name') songTitle: string = 'Dream It Possible';
-  @LocalStorageProp('artist') songArtist: string = 'Delacey';
+  @LocalStorageProp('name') songTitle: string = '未知歌曲';
+  @LocalStorageProp('artist') songArtist: string = '未知歌手';
   @LocalStorageProp('album') songAlbum: string = '未知专辑';
   @LocalStorageProp('pixelMapPath') coverImage: string = '';
   @LocalStorageProp('duration') songDuration: number = 0;

+ 2 - 2
entry/src/main/ets/widget/pages/PlayerWidgetSquare.ets

@@ -29,8 +29,8 @@ struct PlayerWidgetSquare {
 
   // VideoItem 主要数据
   @LocalStorageProp('id') songId: string = '';
-  @LocalStorageProp('name') songTitle: string = 'Dream It Possible';
-  @LocalStorageProp('artist') songArtist: string = 'Delacey';
+  @LocalStorageProp('name') songTitle: string = '未知歌曲';
+  @LocalStorageProp('artist') songArtist: string = '未知歌手';
   @LocalStorageProp('album') songAlbum: string = '未知专辑';
   @LocalStorageProp('pixelMapPath') coverImage: string = '';
   @LocalStorageProp('duration') songDuration: number = 0;