Using RxApp replace ViewAction

This commit is contained in:
2dust
2025-08-30 20:36:16 +08:00
parent ef4a1903ec
commit e3a63db966
8 changed files with 16 additions and 35 deletions

View File

@@ -250,12 +250,6 @@ public partial class MainWindow : WindowBase<MainWindowViewModel>
await ViewModel.AddServerViaClipboardAsync(clipboardData);
}
break;
case EViewAction.AdjustMainLvColWidth:
Dispatcher.UIThread.Post(() =>
Locator.Current.GetService<ProfilesViewModel>()?.AutofitColumnWidthAsync(),
DispatcherPriority.Default);
break;
}
return await Task.FromResult(true);