Skip to content

Commit

Permalink
Merge pull request #118 from Myzel394/feat/0.15/improve-maps
Browse files Browse the repository at this point in the history
Feat/0.15/improve maps
  • Loading branch information
Myzel394 authored Sep 9, 2023
2 parents b4a88de + d5449fc commit 91354a1
Show file tree
Hide file tree
Showing 25 changed files with 963 additions and 1,186 deletions.
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

0 comments on commit 91354a1

Please sign in to comment.