diff --git a/GalaxyBudsClient/Application.props b/GalaxyBudsClient/Application.props index 75fa6077..7e804565 100644 --- a/GalaxyBudsClient/Application.props +++ b/GalaxyBudsClient/Application.props @@ -10,6 +10,6 @@ - 11.1.0-rc1 + 11.2.0-beta1 diff --git a/GalaxyBudsClient/GalaxyBudsClient.csproj b/GalaxyBudsClient/GalaxyBudsClient.csproj index 3f0bdd2e..4267796b 100644 --- a/GalaxyBudsClient/GalaxyBudsClient.csproj +++ b/GalaxyBudsClient/GalaxyBudsClient.csproj @@ -84,9 +84,9 @@ - - - + + + @@ -102,7 +102,7 @@ - + diff --git a/GalaxyBudsClient/Interface/ViewModels/Pages/BatteryHistoryPageViewModel.cs b/GalaxyBudsClient/Interface/ViewModels/Pages/BatteryHistoryPageViewModel.cs index e7cf5e8c..b2e4eb2c 100644 --- a/GalaxyBudsClient/Interface/ViewModels/Pages/BatteryHistoryPageViewModel.cs +++ b/GalaxyBudsClient/Interface/ViewModels/Pages/BatteryHistoryPageViewModel.cs @@ -182,7 +182,7 @@ private async Task UpdatePlotAsync() Plot.Axes.Left.TickGenerator = new NumericAutomatic { - LabelFormatter = value => value is < 0 or > 100 ? string.Empty : NumericAutomatic.DefaultLabelFormatter(value) + LabelFormatter = value => value is < 0 or > 100 ? string.Empty : LabelFormatters.Numeric(value) }; Plot.Font.Set(font); diff --git a/GalaxyBudsClient/Model/InMemoryBinaryDocument.cs b/GalaxyBudsClient/Model/InMemoryBinaryDocument.cs index ba17a86a..c7c10cd7 100644 --- a/GalaxyBudsClient/Model/InMemoryBinaryDocument.cs +++ b/GalaxyBudsClient/Model/InMemoryBinaryDocument.cs @@ -35,6 +35,9 @@ public void RemoveBytes(ulong offset, ulong length) public bool IsReadOnly => false; public bool CanInsert => true; public bool CanRemove => true; + public IReadOnlyBitRangeUnion ValidRanges => + new BitRangeUnion(new List{new (0UL, Length)}.AsReadOnly()); + #pragma warning disable CS0067 public event EventHandler? Changed; #pragma warning restore CS0067