Replace manual titlebar/drag handler with ModalShell, move action buttons to footer, convert StaticResource token attrs to DynamicResource, replace OrangeRed with BloodBrush, and use MonoFont DynamicResource. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
451 B
C#
20 lines
451 B
C#
using Avalonia.Controls;
|
|
using ClaudeDo.Ui.ViewModels.Planning;
|
|
|
|
namespace ClaudeDo.Ui.Views.Planning;
|
|
|
|
public partial class ConflictResolutionView : Window
|
|
{
|
|
public ConflictResolutionView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
protected override void OnDataContextChanged(EventArgs e)
|
|
{
|
|
base.OnDataContextChanged(e);
|
|
if (DataContext is ConflictResolutionViewModel vm)
|
|
vm.CloseRequested = Close;
|
|
}
|
|
}
|