summaryrefslogtreecommitdiff
path: root/src/se/leap
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-08-13 09:36:53 -0600
committerSean Leonard <meanderingcode@aetherislands.net>2013-08-13 09:36:53 -0600
commit867315bf6030765ca06898f7c564f22ced7da9d3 (patch)
tree4e7b9e706d666c1ef6749c1e4c158172ba779edc /src/se/leap
parentf721c4fb9ea30fafaede590dec0a0eaa37ccfe42 (diff)
parent9d8bbb7f806757fd62cbba886af111278e625774 (diff)
Merge branch 'bug/eip-fragment-is-not-showed-after-switching-provider' into develop
Diffstat (limited to 'src/se/leap')
-rw-r--r--src/se/leap/leapclient/Dashboard.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java
index f666ae03..bb4331d5 100644
--- a/src/se/leap/leapclient/Dashboard.java
+++ b/src/se/leap/leapclient/Dashboard.java
@@ -141,9 +141,9 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
providerNameTV.setTextSize(28);
FragmentManager fragMan = getFragmentManager();
- if ( provider.hasEIP() && fragMan.findFragmentByTag(TAG_EIP_FRAGMENT) == null){
+ if ( provider.hasEIP()){
EipServiceFragment eipFragment = new EipServiceFragment();
- fragMan.beginTransaction().add(R.id.servicesCollection, eipFragment, TAG_EIP_FRAGMENT).commit();
+ fragMan.beginTransaction().replace(R.id.servicesCollection, eipFragment, TAG_EIP_FRAGMENT).commit();
}
}