mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-06 01:21:18 -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
|
// 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 (_viewHandled) return;
|
||||||
if (AssociatedObject.Items.SourceCollection is null) 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
|
// 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 (_viewHandled) return;
|
||||||
if (AssociatedObject.Items.SourceCollection is null) return;
|
if (AssociatedObject.Items.SourceCollection is null) return;
|
||||||
|
|
|
@ -33,9 +33,4 @@
|
||||||
<ProjectReference Include="..\DiscordChatExporter.Core\DiscordChatExporter.Core.csproj" />
|
<ProjectReference Include="..\DiscordChatExporter.Core\DiscordChatExporter.Core.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Target Name="Format XAML" AfterTargets="BeforeBuild">
|
|
||||||
<Exec Command="dotnet tool restore" />
|
|
||||||
<Exec Command="dotnet xstyler -r -d $(MSBuildProjectDirectory)" />
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue