summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/Dashboard.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-07-20 10:55:50 +0200
committerParménides GV <parmegv@sdf.org>2013-07-20 10:55:50 +0200
commita5928718b99e207ceb8dbce4609662ecef1a26cf (patch)
treeecb52c38518a83faa03c2708a0e8f22bae57b87d /src/se/leap/leapclient/Dashboard.java
parent3d652a20b5c28b0a424d516161034b23b2523d95 (diff)
parent5edc2af535d177edaeda97523a04c6f73fad26a4 (diff)
Merge branch 'feature/dashboard-ux' into develop
Diffstat (limited to 'src/se/leap/leapclient/Dashboard.java')
-rw-r--r--src/se/leap/leapclient/Dashboard.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java
index 4cd517a9..4c9c28dd 100644
--- a/src/se/leap/leapclient/Dashboard.java
+++ b/src/se/leap/leapclient/Dashboard.java
@@ -56,8 +56,6 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
super.onCreate(savedInstanceState);
app = this;
-
- setContentView(R.layout.client_dashboard);
ConfigHelper.setSharedPreferences(getSharedPreferences(ConfigHelper.PREFERENCES_KEY, MODE_PRIVATE));
preferences = ConfigHelper.shared_preferences;
@@ -108,7 +106,8 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
prefsEdit.remove(ConfigHelper.PROVIDER_KEY).commit();
finish();
}
- });
+ })
+ .show();
}
/**
@@ -119,8 +118,10 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
provider = Provider.getInstance();
provider.init( this );
+ setContentView(R.layout.client_dashboard);
+
providerNameTV = (TextView) findViewById(R.id.providerName);
- providerNameTV.setText(provider.getName());
+ providerNameTV.setText(provider.getDomain());
providerNameTV.setTextSize(28);
FragmentManager fragMan = getFragmentManager();