Toast vertaald

This commit is contained in:
Robin Koedood
2021-01-14 10:36:49 +01:00
parent 018de5688e
commit e8ea9f7982
3 changed files with 3 additions and 1 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);
}