去除魅族22的机型匹配信息(机型没有响应的log文件)

This commit is contained in:
2026-07-19 19:50:20 +08:00
parent 38624a8d50
commit 6808f099f4
-2
View File
@@ -2,7 +2,6 @@
class DeviceMatching {
/// 根据机型返回设计容量(mAh)
static int getDesignCapacity(String model) {
if (model.contains('22')) return 5510;
if (model.contains('21 Pro')) return 5050;
if (model.contains('21')) return 4800;
if (model.contains('20 Pro')) return 5000;
@@ -29,7 +28,6 @@ class DeviceMatching {
/// 根据机型返回显示名称
static String getModelName(String model) {
if (model.contains('22')) return '魅族22';
if (model.contains('21 Pro')) return '魅族21 Pro';
if (model.contains('21')) return '魅族21';
if (model.contains('20 Pro')) return '魅族20 Pro';