mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-02 15:49:49 -04:00
Remove XAMLStyler
This commit is contained in:
parent
214d5e3bdb
commit
2393a6a472
3 changed files with 2 additions and 19 deletions
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"xamlstyler.console": {
|
||||
"version": "3.2008.4",
|
||||
"commands": [
|
||||
"xstyler"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -33,9 +33,4 @@
|
|||
<ProjectReference Include="..\DiscordChatExporter.Core\DiscordChatExporter.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="Format XAML" AfterTargets="BeforeBuild">
|
||||
<Exec Command="dotnet tool restore" />
|
||||
<Exec Command="dotnet xstyler -r -d $(MSBuildProjectDirectory)" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue