部分自动优化

This commit is contained in:
2026-07-06 18:29:49 +08:00
parent 26aa931e06
commit 76bff59afc
3 changed files with 2 additions and 6 deletions
+2 -2
View File
@@ -11,14 +11,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 _getDisplayPower() {
if (isWireless) {