summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/Dashboard.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/se/leap/leapclient/Dashboard.java')
-rw-r--r--src/se/leap/leapclient/Dashboard.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java
index 5855b6ae..59c0f182 100644
--- a/src/se/leap/leapclient/Dashboard.java
+++ b/src/se/leap/leapclient/Dashboard.java
@@ -169,7 +169,9 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
intent.putExtra(ConfigHelper.RECEIVER_TAG, mEIPReceiver);
startService(intent);
- ((ViewStub) findViewById(R.id.eipOverviewStub)).inflate();
+ ViewStub eip_overview_stub = ((ViewStub) findViewById(R.id.eipOverviewStub));
+ if(eip_overview_stub != null)
+ eip_overview_stub.inflate();
eipTypeTV = (TextView) findViewById(R.id.eipType);
eipTypeTV.setText(provider.getEIPType());