Commit 6ffdd992 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Small fix

parent 684efb85
Pipeline #260 failed with stage
in 0 seconds
......@@ -114,12 +114,12 @@ namespace Xamarin
}
transport.SelectedIndex = 2;
if (Core.DefaultProxyConfig.State == RegistrationState.Ok)
if (Core.DefaultProxyConfig?.State == RegistrationState.Ok)
{
register.IsEnabled = false;
stack_registrar.IsVisible = false;
registration_status.Text = "Registration state: " + Core.DefaultProxyConfig.State;
}
registration_status.Text = "Registration state: " + Core.DefaultProxyConfig.State;
}
private void OnRegisterClicked(object sender, EventArgs e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment