https://github.com/2dust/v2rayN/issues/10113
This commit is contained in:
2dust
2026-09-08 20:32:26 +08:00
parent ed4dd7f6d9
commit 8b8e579bc8
2 changed files with 5 additions and 15 deletions
@@ -695,7 +695,7 @@ public partial class MainWindowViewModel : MyReactiveObject
{
return;
}
await ProfilesViewModel.SetSpeedTestResult(new()
{
IndexId = profileItem.IndexId,
@@ -739,7 +739,10 @@ public partial class MainWindowViewModel : MyReactiveObject
RxSchedulers.MainThreadScheduler.Schedule(() =>
{
ShowClashUI = showClashUI;
TabMainSelectedIndex = showClashUI ? TabMainSelectedIndex : 0;
if (!showClashUI || TabMainSelectedIndex < 0)
{
TabMainSelectedIndex = 0;
}
});
}