diff options
author | Parménides GV <parmegv@sdf.org> | 2013-07-09 18:41:47 +0200 |
---|---|---|
committer | Sean Leonard <meanderingcode@aetherislands.net> | 2013-07-12 14:27:48 -0600 |
commit | 652d0e84785b89ac13c0fc03663ce0e2811aea6b (patch) | |
tree | 336d9904bafdd66db350401090b12a6cde5ed885 /src/se/leap/leapclient/ProviderDetailFragment.java | |
parent | 8bd4d61319b1418e5fef2d9f932044b07bfc1f20 (diff) |
Dashboard menu is updated when logged in or out.
Login option is not shown if the user is already logged in, and logout
option is not shown if the user is not logged in.
I've also removed a debug line from ProviderDetailFragment, which
returned true when it returned false because of an exception.
Diffstat (limited to 'src/se/leap/leapclient/ProviderDetailFragment.java')
-rw-r--r-- | src/se/leap/leapclient/ProviderDetailFragment.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/ProviderDetailFragment.java b/src/se/leap/leapclient/ProviderDetailFragment.java index a788594f..600be58f 100644 --- a/src/se/leap/leapclient/ProviderDetailFragment.java +++ b/src/se/leap/leapclient/ProviderDetailFragment.java @@ -43,7 +43,6 @@ public class ProviderDetailFragment extends DialogFragment { }
if(registration_allowed(provider_json)) {
-
builder.setNegativeButton(R.string.login_button, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
interface_with_configuration_wizard.login();
|