Merge branch 'develop' of https://github.com/SemvdH/Next-Location into develop

This commit is contained in:
Sem van der Hoeven
2021-01-14 10:49:04 +01:00
5 changed files with 7 additions and 5 deletions

View File

@@ -97,7 +97,7 @@ public class RouteDetailFragment extends Fragment {
public void startRoute(View view) {
ApiHandler.INSTANCE.getDirections(route);
RouteHandler.INSTANCE.followRoute(route);
Toast.makeText(requireContext(), "Route started!", Toast.LENGTH_SHORT).show();
Toast.makeText(requireContext(), R.string.route_started_toast, Toast.LENGTH_SHORT).show();
// navigates to the HomeFragment and refreshes the BottomNavigation
refreshable.refreshAndNavigateTo(R.id.locations);
}

View File

@@ -1,6 +1,6 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:width="32dp"
android:height="32dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">

View File

@@ -1,6 +1,6 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:width="32dp"
android:height="32dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">

View File

@@ -34,4 +34,5 @@
<string name="notification_text">Je bent bijna bij %1$s</string>
<string name="hour">uur</string>
<string name="minutes">minuten</string>
<string name="route_started_toast">Route is gestart!</string>
</resources>

View File

@@ -32,4 +32,5 @@
<string name="start_location">Start location</string>
<string name="hour">hour</string>
<string name="minutes">minutes</string>
<string name="route_started_toast">Route started!</string>
</resources>