Add high voltage LiPo battery chemistry option
This commit is contained in:
1 parent
98f6cf3745
commit
3a08f52fd4
23 files changed
+72
-3
No files matched your search
@@ -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(
|
||||
|
||||
@@ -165,6 +165,10 @@ class RepeaterHubScreen extends StatelessWidget {
|
||||
value: 'lipo',
|
||||
child: Text(l10n.appSettings_batteryLipo),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 'lipo_hv',
|
||||
child: Text(l10n.appSettings_batteryLipoHv),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user