Przeglądaj źródła

删除无用代码

onecold 9 miesięcy temu
rodzic
commit
8775f272fe

+ 1 - 15
entry/src/main/ets/pages/NewIndex.ets

@@ -1351,21 +1351,7 @@ struct NewIndex {
         .onClick(async () => {
           this.showRemoteDriveAccountDialog(false,undefined,RemoteDriveType.Navidrome)
         })
-      // MenuItem({
-      //   symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.smallcircle_filled_circle')),
-      //   content: $r('app.string.ftp')
-      // })
-      //   .onClick(async () => {
-      //     this.showRemoteDriveAccountDialog(false,undefined,CommonConstants.TYPE_WEBDAV)
-      //   })
-      //
-      // MenuItem({
-      //   symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.smallcircle_filled_circle')),
-      //   content: $r('app.string.ftps')
-      // })
-      //   .onClick(async () => {
-      //     this.showRemoteDriveAccountDialog(false,undefined,CommonConstants.TYPE_WEBDAV)
-      //   })
+
     }.attributeModifier(new MenuModifier())
   }
 

+ 2 - 2
entry/src/main/ets/pages/WebDavMainPage.ets

@@ -558,7 +558,7 @@ export struct WebDavMainPage {
 
         })
       MenuItem({
-        symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.clock')),
+        symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.text_and_arrow_up')),
         content:'按大小升序'
       })
         .onClick(async () => {
@@ -567,7 +567,7 @@ export struct WebDavMainPage {
         })
 
       MenuItem({
-        symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.timer')),
+        symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.text_and_arrow_down')),
         content: '按大小降序'
       })
         .onClick(async () => {

+ 0 - 3
entry/src/main/ets/view/LocalMusic.ets

@@ -13096,7 +13096,6 @@ export struct LocalMusic {
           });
         } else if (this.playType == 1) { //1:单片重复播放
           this.CONTROL_PlayStatus = PlayStatus.INIT
-          console.info('onecold startPlayOrResumePlay 10592')
           that.startPlayOrResumePlay();
 
         } else if (this.playType == 2) { //2:正常播放,单曲播完
@@ -13613,11 +13612,9 @@ export struct LocalMusic {
   }
 
   private sessionPlayCallback = (): void => {
-    console.info('onecold playOrPause 11050')
     this.playOrPause()
   };
   private sessionPauseCallback = (): void => {
-    console.info('onecold playOrPause 11054')
     this.pause()
   };