Update MainActivity.java

This commit is contained in:
AdrianLxM 2016-11-07 01:01:33 +01:00 committed by GitHub
parent 68be6179f8
commit c851aefc8e

View file

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
LocaleHelper.setLocale(getApplicationContext(), lang); LocaleHelper.setLocale(getApplicationContext(), lang);
recreate(); recreate();
try { // activity may be destroyed try { // activity may be destroyed
setUpTabs(true); setUpTabs(ev.isSwitchToLast());
} catch (IllegalStateException e) { } catch (IllegalStateException e) {
e.printStackTrace(); e.printStackTrace();
} }