From 32ddf3fd4c06031b1a424f62c07ed5481809ff58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C3=B3=C5=82grabia?= Date: Mon, 19 Sep 2016 23:07:21 +0200 Subject: [PATCH] Fixed activity configuration changes. --- app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java b/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java index 76b79a8..6f2ec60 100644 --- a/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java +++ b/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java @@ -171,6 +171,7 @@ public class MainActivity extends ActionBarActivity { public void switchToPhoto(PanoramioImageInfo photoInfo) { this.photoInfo = photoInfo; + this.currFrag = MainActivityState.PANORAMIO_SHOWER; FragmentManager fragmentManager = getSupportFragmentManager(); FragmentTransaction ctx = fragmentManager.beginTransaction(); PanoramioShowerFragment panoramioShower = new PanoramioShowerFragment();