Skip to content

Commit

Permalink
Add null check for expired / free accounts (fixes #87)
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDoubleD committed Aug 17, 2024
1 parent f921369 commit bff9fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QobuzDownloaderX/View/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private void MainForm_Load(object sender, EventArgs e)
output.Invoke(new Action(() => output.AppendText("Periodicity - " + Globals.Login.User.Subscription.Periodicity + "\r\n")));
output.Invoke(new Action(() => output.AppendText("==========================\r\n\r\n")));
}
else if (Globals.Login.User.Credential.Parameters.Source == "household" && Globals.Login.User.Credential.Parameters.HiresStreaming == true)
else if (Globals.Login.User?.Credential?.Parameters?.Source == "household" && Globals.Login.User.Credential.Parameters?.HiresStreaming == true)
{
output.Invoke(new Action(() => output.AppendText("Active Family sub-account, unknown End Date \r\n")));
output.Invoke(new Action(() => output.AppendText("Credential Label - " + Globals.Login.User.Credential.Label + "\r\n")));
Expand Down

0 comments on commit bff9fc0

Please sign in to comment.