Fixed first contact being displayed after edition instead of last one on tablets

This commit is contained in:
Sylvain Berfini 2019-01-30 16:01:30 +01:00
parent 96a23cf16d
commit 81905e853a

View file

@ -189,7 +189,7 @@ public class ContactEditorFragment extends Fragment {
mContact.save();
getFragmentManager().popBackStackImmediate();
if (mIsNewContact) {
if (mIsNewContact || LinphoneActivity.instance().isTablet()) {
LinphoneActivity.instance().displayContact(mContact, false);
}
}