From c851aefc8ecb13b3889d4e3c8f85f3a4faf779fd Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Mon, 7 Nov 2016 01:01:33 +0100 Subject: [PATCH] Update MainActivity.java --- app/src/main/java/info/nightscout/androidaps/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }