1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Prevent crash

This commit is contained in:
M66B 2023-03-04 15:31:49 +01:00
parent f1859a7d0a
commit fbab1db183

View file

@ -10284,7 +10284,7 @@ public class FragmentMessages extends FragmentBase
FragmentTransaction fragmentTransaction = manager.beginTransaction();
fragmentTransaction.replace(R.id.content_frame, fragment).addToBackStack("search");
fragmentTransaction.commit();
fragmentTransaction.commitAllowingStateLoss();
}
static void searchContact(Context context, LifecycleOwner owner, FragmentManager fm, long message, boolean sender_only) {