mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Merge branch '718-creating-a-group-without-having-contacts-can-cause-crash' into 'master'
Fix crash when navigating back in contact selector Closes #718 See merge request !365
This commit is contained in:
@@ -80,6 +80,7 @@ public class CreateGroupActivity extends ContactSelectorActivity implements
|
||||
new UiResultExceptionHandler<GroupId, DbException>(this) {
|
||||
@Override
|
||||
public void onResultUi(GroupId g) {
|
||||
groupId = g;
|
||||
switchToContactSelectorFragment(g);
|
||||
}
|
||||
|
||||
@@ -92,6 +93,7 @@ public class CreateGroupActivity extends ContactSelectorActivity implements
|
||||
}
|
||||
|
||||
private void switchToContactSelectorFragment(GroupId g) {
|
||||
setTitle(R.string.groups_invite_members);
|
||||
ContactSelectorFragment fragment =
|
||||
ContactSelectorFragment.newInstance(g);
|
||||
getSupportFragmentManager().beginTransaction()
|
||||
|
||||
Reference in New Issue
Block a user