feat(location): add manual frequency option and optimize position loading
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user