diff --git a/client/src/main/java/org/croudtrip/trip/JoinTripResultsAdapter.java b/client/src/main/java/org/croudtrip/trip/JoinTripResultsAdapter.java index 8f98298..40c9ff5 100644 --- a/client/src/main/java/org/croudtrip/trip/JoinTripResultsAdapter.java +++ b/client/src/main/java/org/croudtrip/trip/JoinTripResultsAdapter.java @@ -112,7 +112,7 @@ public void onBindViewHolder(ViewHolder holder, int position) { // Driver info User driver = reservation.getDriver(); - holder.tvDriverName.setText(driver.getFirstName() + " " + driver.getLastName()); + holder.tvDriverName.setText(driver.getFirstName()); // Distance information