Browse Source

蓝牙搜索列表改进

kidd3166 1 year ago
parent
commit
0d80a90ff5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/widgets/dialog/search_device.dart

+ 2 - 2
lib/widgets/dialog/search_device.dart

@@ -847,9 +847,9 @@ class Rssi extends StatelessWidget {
     int level = 1;
     if(r == index.abs()){
       level = 4;
-    } else if(r < 60){
+    } else if(r <= 60){
       level = 3;
-    }else if(r < 80){
+    }else if(r <= 80){
       level = 2;
     }
     double height = 12;