Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/0.15/improve maps #118

Merged
merged 15 commits into from
Sep 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
"taskAction_generateLink_process_publishing": "Publishing encrypted data...",
"taskAction_generateLink_process_creatingURI": "Creating link...",
"taskAction_generateLink_shareTextSubject": "Here's the link to see my location",
"taskAction_showDetails": "Show Details",
"tasks_action_stopAll": "Stop tasks",
"tasks_action_startAll": "Start tasks",
"tasks_examples_weekend": "Weekend Getaway",
Expand Down Expand Up @@ -766,6 +767,15 @@
"locations_values_lastLocation_description": "Last location update",
"locations_values_distance_description": "Distance",
"locations_values_distance_permissionRequired": "Grant permission",
"locations_values_distance_nearby": "<10 m",
"locations_values_distance_m": "{distance} m",
"@locations_values_distance_m": {
"placeholders": {
"distance": {
"type": "String"
}
}
},
"locations_values_distance_km": "{distance, select, 0 {<1 km} 1 {one km} other {{distance} km}}",
"@locations_values_distance_km": {
"placeholders": {
Expand Down
3 changes: 3 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:flutter_logs/flutter_logs.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:locus/App.dart';
import 'package:locus/screens/locations_overview_screen_widgets/LocationFetchers.dart';
import 'package:locus/services/app_update_service.dart';
import 'package:locus/services/log_service.dart';
import 'package:locus/services/manager_service/background_fetch.dart';
Expand Down Expand Up @@ -84,6 +85,8 @@ void main() async {
ChangeNotifierProvider<LogService>(create: (_) => logService),
ChangeNotifierProvider<AppUpdateService>(
create: (_) => appUpdateService),
ChangeNotifierProvider<LocationFetchers>(
create: (_) => LocationFetchers()),
],
child: const App(),
),
Expand Down
Loading
Loading