Skip to content

Commit

Permalink
Fix: Fixed crash that would occur after changing background color (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrariofilippo authored Feb 17, 2023
1 parent c96378f commit 989aa9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public AppThemeResource SelectedAppThemeResources
get => selectedAppThemeResources;
set
{
if (SetProperty(ref selectedAppThemeResources, value))
if (value is not null && SetProperty(ref selectedAppThemeResources, value))
{
AppThemeBackgroundColor = SelectedAppThemeResources.BackgroundColor;
OnPropertyChanged(nameof(selectedAppThemeResources));
Expand Down

0 comments on commit 989aa9f

Please sign in to comment.