onecold пре 1 година
родитељ
комит
a80207d4fb
1 измењених фајлова са 6 додато и 5 уклоњено
  1. 6 5
      entry/src/main/ets/view/LocalMusic.ets

+ 6 - 5
entry/src/main/ets/view/LocalMusic.ets

@@ -6078,7 +6078,7 @@ export struct LocalMusic {
       LogUtil.info('twocold isHiCarKuanBianPing Math.abs(currentRatio - hiCarRatio.ratio)= ' + Math.abs(currentRatio - hiCarRatio.ratio))
       if (Math.abs(currentRatio - hiCarRatio.ratio) <= RATIO_TOLERANCE) {
         // LogUtil.info(`HiCar detected: ${hiCarRatio.name}, actual: ${this.windowWidth}x${this.windowHeight}`);
-        return true;
+        return this.isHiCar();
       }
     }
 
@@ -6106,7 +6106,7 @@ export struct LocalMusic {
       LogUtil.info('twocold isHiCarSmall isHiCarStatus= ' + this.isHiCarStatus);
       if (Math.abs(currentRatio - hiCarRatio.ratio) <= RATIO_TOLERANCE) {
         // LogUtil.info(`HiCar detected: ${hiCarRatio.name}, actual: ${this.windowWidth}x${this.windowHeight}`);
-        return this.isHiCarStatus;
+        return this.isHiCar();
       }
     }
 
@@ -7054,7 +7054,8 @@ export struct LocalMusic {
 
         if (this.isPhoneLan()) {
           Column() {
-            this.playCenterView()
+            this.playProgressView()
+            // this.playCenterView()
           }
           .margin({ bottom: 20, right: this.currentLyricAlignMode == 0 ? 0 : 30 })
         }
@@ -7692,8 +7693,8 @@ export struct LocalMusic {
       }
       if (this.isPhoneLan()) {
         Column() {
-
-          this.playProgressView()
+          this.playCenterView()
+          // this.playProgressView()
         }
         .position({ left: 40, bottom: 48 })