Add high voltage LiPo battery chemistry option

This commit is contained in:
Hacuchino-hash
2026-08-06 08:58:47 -05:00
parent 98f6cf3745
commit 3a08f52fd4
23 changed files with 72 additions and 3 deletions
+5 -3
View File
@@ -688,6 +688,10 @@ class AppSettingsScreen extends StatelessWidget {
value: 'lipo',
child: Text(context.l10n.appSettings_batteryLipo),
),
DropdownMenuItem(
value: 'lipo_hv',
child: Text(context.l10n.appSettings_batteryLipoHv),
),
],
),
],
@@ -1153,9 +1157,7 @@ class AppSettingsScreen extends StatelessWidget {
) {
final currentApiKey = settingsService.settings.mapTileApiKey?.trim() ?? '';
final maskedApiKey = _maskApiKey(
currentApiKey.isEmpty
? AppSettings.stadiaDemo
: currentApiKey,
currentApiKey.isEmpty ? AppSettings.stadiaDemo : currentApiKey,
);
final controller = TextEditingController(text: maskedApiKey);
showDialog(