Skip to content

Commit

Permalink
some changes, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lxymahatma committed Jul 23, 2024
1 parent 60582b1 commit 2c8fa46
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
10 changes: 0 additions & 10 deletions Styles/ExtendControls/DifficultyFilter.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ namespace MuseDashModToolsUI.Styles.ExtendControls;

public class DifficultyFilter : MenuItem
{
public static readonly StyledProperty<bool?> IsCheckedProperty =
AvaloniaProperty.Register<DifficultyFilter, bool?>(nameof(IsChecked), false,
defaultBindingMode: BindingMode.TwoWay);

public bool? IsChecked
{
get => GetValue(IsCheckedProperty);
set => SetValue(IsCheckedProperty, value);
}

protected override void OnPointerPressed(PointerPressedEventArgs e)
{
base.OnPointerPressed(e);
Expand Down
2 changes: 1 addition & 1 deletion UI/BuildInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ public static class BuildInfo
public const string CopyRight = "Copyright © 2023 MDModsDev";
public const string Description = "A tool for Muse Dash modding";
public const string Name = "MuseDashModTools";
public const string Version = "1.3.0";
public const string Version = "1.3.1";
}
2 changes: 2 additions & 0 deletions UI/GlobalUsing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
global using MuseDashModToolsUI.Services;
global using MuseDashModToolsUI.Utils;
global using System;
global using System.IO;
global using System.Collections.Generic;
global using System.Linq;
global using System.Threading;
global using System.Threading.Tasks;
global using System.Runtime.InteropServices;
global using System.Runtime.Versioning;
global using System.Net.Http;
global using Serilog;
global using static MuseDashModToolsUI.Localization.MsgBox.Resources_MsgBox;
global using static MuseDashModToolsUI.Localization.Resources.Resources;
Expand Down
8 changes: 4 additions & 4 deletions UI/Models/Mod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public partial class Mod : ObservableObject
public string DownloadLink { get; set; } = string.Empty;
public string HomePage { get; set; } = string.Empty;
public string ConfigFile { get; set; } = string.Empty;
public string[]? GameVersion { get; set; }
public string[] GameVersion { get; set; } = [];
public string Description { get; set; } = string.Empty;
public List<string> DependentMods { get; set; } = new();
public List<string> DependentLibs { get; set; } = new();
public List<string> IncompatibleMods { get; set; } = new();
public List<string> DependentMods { get; set; } = [];
public List<string> DependentLibs { get; set; } = [];
public List<string> IncompatibleMods { get; set; } = [];
public string SHA256 { get; set; } = string.Empty;
[JsonIgnore] public string? LocalVersion { get; set; }
[JsonIgnore] public UpdateState State { get; set; }
Expand Down

0 comments on commit 2c8fa46

Please sign in to comment.