修改机型名称(匹配其他机型的非全大写)
This commit is contained in:
Vendored
+2
-1
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"cmake.ignoreCMakeListsMissing": true
|
||||
"cmake.ignoreCMakeListsMissing": true,
|
||||
"gitlens.codeLens.enabled": false
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
description: This file stores settings for Dart & Flutter DevTools.
|
||||
documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states
|
||||
extensions:
|
||||
@@ -33,7 +33,7 @@ class DeviceMatching {
|
||||
if (model.contains('21 Pro')) return '魅族21 Pro';
|
||||
if (model.contains('21')) return '魅族21';
|
||||
if (model.contains('20 Pro')) return '魅族20 Pro';
|
||||
if (model.contains('20 Inf')) return '魅族20 INFINITY';
|
||||
if (model.contains('20 Inf')) return '魅族20 Infinity';
|
||||
if (model.contains('20')) return '魅族20';
|
||||
if (model.contains('18s Pro')) return '魅族18s Pro';
|
||||
if (model.contains('18s')) return '魅族18s';
|
||||
|
||||
Reference in New Issue
Block a user