Commit 02cb0bf4 authored by Grigory Fedorov's avatar Grigory Fedorov

RoomSelectActivity orientation change fragment bug fixed. #503

parent 279d3510
......@@ -39,7 +39,9 @@ public class RoomSelectActivity extends ManagedActivity implements RoomSelectFra
barPainter = new BarPainter(this, toolbar);
barPainter.setDefaultColor();
getFragmentManager().beginTransaction().add(R.id.fragment_container, new RoomSelectFragment()).commit();
if (savedInstanceState == null) {
getFragmentManager().beginTransaction().add(R.id.fragment_container, new RoomSelectFragment()).commit();
}
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment