瀏覽代碼

蓝牙搜索列表改进

kidd3166 2 年之前
父節點
當前提交
0d80a90ff5
共有 1 個文件被更改,包括 2 次插入2 次删除
  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;