Update MainActivity.java
This commit is contained in:
parent
68be6179f8
commit
c851aefc8e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue