diff --git a/app/src/main/java/info/nightscout/androidaps/MainActivity.java b/app/src/main/java/info/nightscout/androidaps/MainActivity.java index 5876e05809..04177386c8 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/MainActivity.java @@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity { LocaleHelper.setLocale(getApplicationContext(), lang); recreate(); try { // activity may be destroyed - setUpTabs(true); + setUpTabs(ev.isSwitchToLast()); } catch (IllegalStateException e) { e.printStackTrace(); }