commit allowing state loss

This commit is contained in:
Daniel Gultsch 2018-03-19 12:29:21 +01:00
parent 5363470bcf
commit 11136f939e
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
fragmentTransaction.replace(R.id.main_fragment, conversationFragment);
fragmentTransaction.addToBackStack(null);
fragmentTransaction.commit();
fragmentTransaction.commitAllowingStateLoss(); //allowing state loss is probably fine since view intents et all are already stored and a click can probably be 'ignored'
}
} else {
mainNeedsRefresh = true;