feat(location): add manual frequency option and optimize position loading

This commit is contained in:
2026-04-26 05:12:10 +02:00
parent cf2dbbeb63
commit 7251349e1d
6 changed files with 26 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
String formatSecondsCompact(int seconds) {
if (seconds < 0) return '';
if (seconds >= 3600) return '${seconds ~/ 3600}h';
if (seconds >= 60) return '${seconds ~/ 60}m';
return '${seconds}s';