Skip to content

Commit

Permalink
v1.8.0 merge conflicts resolved.
Browse files Browse the repository at this point in the history
  • Loading branch information
trippsc2 committed Mar 7, 2021
2 parents a2af969 + 0ba5f11 commit c85aa62
Show file tree
Hide file tree
Showing 738 changed files with 50,526 additions and 41,911 deletions.
8 changes: 0 additions & 8 deletions .idea/.idea.OpenTracker/.idea/.idea.OpenTracker.iml

This file was deleted.

1,049 changes: 0 additions & 1,049 deletions .idea/.idea.OpenTracker/.idea/contentModel.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/.idea.OpenTracker/.idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/.idea.OpenTracker/.idea/projectSettingsUpdater.xml

This file was deleted.

104 changes: 0 additions & 104 deletions .idea/.idea.OpenTracker/.idea/workspace.xml

This file was deleted.

1 change: 1 addition & 0 deletions Avalonia.ThemeManager/Avalonia.ThemeManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Avalonia.ThemeManager/ITheme.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ namespace Avalonia.ThemeManager
public interface ITheme
{
string Name { get; set; }
IStyle Style { get; set; }
IThemeSelector Selector { get; set; }
IStyle? Style { get; set; }
IThemeSelector? Selector { get; set; }

void ApplyTheme();
}
Expand Down
4 changes: 2 additions & 2 deletions Avalonia.ThemeManager/IThemeSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ namespace Avalonia.ThemeManager
public interface IThemeSelector
{
Application App { get; }
ITheme SelectedTheme { get; set; }
IList<ITheme> Themes { get; set; }
ITheme? SelectedTheme { get; set; }
IList<ITheme>? Themes { get; set; }

void ApplyTheme(ITheme theme);
void LoadSelectedTheme(string file);
Expand Down
8 changes: 4 additions & 4 deletions Avalonia.ThemeManager/Theme.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ namespace Avalonia.ThemeManager
public class Theme : ReactiveObject, ITheme
{
private string _name = string.Empty;
private IStyle _style;
private IThemeSelector _selector;
private IStyle? _style;
private IThemeSelector? _selector;

public string Name
{
get => _name;
set => this.RaiseAndSetIfChanged(ref _name, value);
}

public IStyle Style
public IStyle? Style
{
get => _style;
set => this.RaiseAndSetIfChanged(ref _style, value);
}

public IThemeSelector Selector
public IThemeSelector? Selector
{
get => _selector;
set => this.RaiseAndSetIfChanged(ref _selector, value);
Expand Down
8 changes: 4 additions & 4 deletions Avalonia.ThemeManager/ThemeSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ namespace Avalonia.ThemeManager
{
public sealed class ThemeSelector : ReactiveObject, IThemeSelector
{
private ITheme _selectedTheme;
private IList<ITheme> _themes;
private ITheme? _selectedTheme;
private IList<ITheme>? _themes;

public ITheme SelectedTheme
public ITheme? SelectedTheme
{
get => _selectedTheme;
set => this.RaiseAndSetIfChanged(ref _selectedTheme, value);
}

public IList<ITheme> Themes
public IList<ITheme>? Themes
{
get => _themes;
set => this.RaiseAndSetIfChanged(ref _themes, value);
Expand Down
Loading

0 comments on commit c85aa62

Please sign in to comment.