Displays ID of sharer next to shared list (need to change to email)

This commit is contained in:
Aaron Sun 2020-11-28 11:43:19 -08:00
parent 5b149f63ce
commit ba8f249346
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public class ShoppingListsAdapter extends BaseAdapter {
TextView tvListName = (TextView) convertView.findViewById(R.id.shopping_list_name);
if(curList.isShared()) {
tvListName.setText(curList.getName() + " (shared)");
tvListName.setText(curList.getName() + " (shared by " + curList.getOwner() + ")");
}
else {
tvListName.setText(curList.getName());

View File

@ -94,7 +94,7 @@ public class ShoppingListsSwipeableAdapter extends BaseAdapter {
binderHelper.bind(holder.swipeLayout, Integer.toString(curList.getListID()));
if(curList.isShared()) {
holder.listName.setText(curList.getName() + " (shared)");
holder.listName.setText(curList.getName() + " (shared by " + curList.getOwner() + ")");
}
else {
holder.listName.setText(curList.getName());