readme修改,涉及机型匹配相关信息调整
This commit is contained in:
@@ -33,7 +33,14 @@
|
||||
|
||||
- Flutter SDK: ^3.9.2
|
||||
- Android: 8.0+ (API 26+)
|
||||
- 仅支持魅族手机(15 系列 ~ 22 系列)
|
||||
|
||||
---
|
||||
|
||||
## 机型匹配情况
|
||||
# 目前据群友反馈已知:
|
||||
- 魅族22无mbattery_charger目录生成,无法实时计算相应百分比
|
||||
- 魅族18在后续的版本中关闭了mbattery_log生成,疑似无效,老版本可能支持
|
||||
- 最完美的支持版本至少可覆盖魅族20/21系机型(20inf需后续确认)
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@ class ChargeDetailPage extends StatelessWidget {
|
||||
final int? wiredLevel;
|
||||
|
||||
const ChargeDetailPage({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.chargeType,
|
||||
required this.isWireless,
|
||||
required this.power,
|
||||
required this.volt,
|
||||
required this.curr,
|
||||
this.wiredLevel,
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
String _getProtocolDisplay() {
|
||||
if (isWireless) return '无线充电($chargeType)';
|
||||
|
||||
Reference in New Issue
Block a user