Fix fast location cadence ref:

This commit is contained in:
Janez T
2026-04-07 10:35:31 +02:00
parent d92e52c5c2
commit e5514b4ef9
3 changed files with 46 additions and 15 deletions

View File

@@ -480,7 +480,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
keyboardType: TextInputType.number,
decoration: const InputDecoration(
labelText: 'Seconds',
helperText: 'Valid range: 10 to 31 seconds',
helperText: 'Fixed at 60 seconds',
),
),
actions: [
@@ -492,7 +492,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
onPressed: () {
final parsed = int.tryParse(controller.text.trim());
if (parsed == null) return;
Navigator.pop(context, parsed.clamp(10, 31));
Navigator.pop(context, parsed.clamp(60, 60));
},
child: const Text('Save'),
),