mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
bfdc2221a6
commit
e163ab581a
|
@ -1607,8 +1607,10 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
|||
}
|
||||
|
||||
private void onQuickSetup(Intent intent) {
|
||||
FragmentQuickSetup fragment = new FragmentQuickSetup();
|
||||
fragment.setArguments(new Bundle());
|
||||
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
|
||||
fragmentTransaction.replace(R.id.content_frame, new FragmentQuickSetup()).addToBackStack("quick");
|
||||
fragmentTransaction.replace(R.id.content_frame, fragment).addToBackStack("quick");
|
||||
fragmentTransaction.commit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue