mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2026-04-25 22:05:05 +00:00
Fix unique assertion on share rows
This commit is contained in:
@@ -114,7 +114,7 @@ public class ListPage extends AppCompatActivity implements Requestor.Receiver {
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
EditText sharedEmailText = (EditText) codeView.findViewById(R.id.editTextTextSharedEmail);
|
||||
String sharedEmail = sharedEmailText.getText().toString();
|
||||
ListShare listShare = new ListShare(listID, sharedEmail, "Read, Edit, Delete, Share");
|
||||
ListShare listShare = new ListShare(listID, sharedEmail, "Read, Write, Delete, Share");
|
||||
try {
|
||||
requestor.putObject(listShare);
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ public class ShoppingListsSwipeableAdapter extends BaseAdapter {
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
EditText sharedEmailText = (EditText) codeView.findViewById(R.id.editTextTextSharedEmail);
|
||||
String sharedEmail = sharedEmailText.getText().toString();
|
||||
ListShare listShare = new ListShare(curList.getItemID(), sharedEmail, "Read, Edit, Delete, Share");
|
||||
ListShare listShare = new ListShare(curList.getItemID(), sharedEmail, "Read, Write, Delete, Share");
|
||||
try {
|
||||
requestor.putObject(listShare);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user