From 2393a6a4722524449f310fe06c3fc561acfd6d62 Mon Sep 17 00:00:00 2001
From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Date: Mon, 8 Nov 2021 23:26:04 +0200
Subject: [PATCH] Remove XAMLStyler
---
.config/dotnet-tools.json | 12 ------------
.../Behaviors/MultiSelectionListBoxBehavior.cs | 4 ++--
.../DiscordChatExporter.Gui.csproj | 5 -----
3 files changed, 2 insertions(+), 19 deletions(-)
delete mode 100644 .config/dotnet-tools.json
diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
deleted file mode 100644
index c3a0dc98..00000000
--- a/.config/dotnet-tools.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "version": 1,
- "isRoot": true,
- "tools": {
- "xamlstyler.console": {
- "version": "3.2008.4",
- "commands": [
- "xstyler"
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/DiscordChatExporter.Gui/Behaviors/MultiSelectionListBoxBehavior.cs b/DiscordChatExporter.Gui/Behaviors/MultiSelectionListBoxBehavior.cs
index 4e593ee3..bd4e9bde 100644
--- a/DiscordChatExporter.Gui/Behaviors/MultiSelectionListBoxBehavior.cs
+++ b/DiscordChatExporter.Gui/Behaviors/MultiSelectionListBoxBehavior.cs
@@ -53,7 +53,7 @@ namespace DiscordChatExporter.Gui.Behaviors
}
// Propagate selected items from view to model
- private void OnListBoxSelectionChanged(object sender, SelectionChangedEventArgs args)
+ private void OnListBoxSelectionChanged(object? sender, SelectionChangedEventArgs args)
{
if (_viewHandled) return;
if (AssociatedObject.Items.SourceCollection is null) return;
@@ -62,7 +62,7 @@ namespace DiscordChatExporter.Gui.Behaviors
}
// Re-select items when the set of items changes
- private void OnListBoxItemsChanged(object sender, NotifyCollectionChangedEventArgs args)
+ private void OnListBoxItemsChanged(object? sender, NotifyCollectionChangedEventArgs args)
{
if (_viewHandled) return;
if (AssociatedObject.Items.SourceCollection is null) return;
diff --git a/DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj b/DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj
index c5e05d46..f0389fe5 100644
--- a/DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj
+++ b/DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj
@@ -33,9 +33,4 @@
-
-
-
-
-
\ No newline at end of file