Skip to content

Commit

Permalink
Fix crash when first start and license key is blank
Browse files Browse the repository at this point in the history
  • Loading branch information
Fma965 committed Mar 30, 2021
1 parent bc12df0 commit c657237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Syn3Updater/UI/Tabs/SettingsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ private void ApplySettingsAction()
}
}

if (LicenseKey.Length < 10) LicenseKey = "";
if (LicenseKey?.Length < 10) LicenseKey = "";
ApplicationManager.Instance.FireHomeTabEvent();
}

Expand Down

0 comments on commit c657237

Please sign in to comment.