Browse Source

Fix switch

pull/4287/head
NintenHero 1 year ago committed by GitHub
parent
commit
85e8d9479e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      v2rayN/v2rayN/Views/MainWindow.xaml.cs

14
v2rayN/v2rayN/Views/MainWindow.xaml.cs

@ -324,25 +324,25 @@ namespace v2rayN.Views
{
switch (e.key)
{
case Key.V
case Key.V:
ViewModel?.AddServerViaClipboard();
break;
case Key.P
case Key.P:
ViewModel?.ServerSpeedtest(ESpeedActionType.Ping);
break;
case Key.O
case Key.O:
ViewModel?.ServerSpeedtest(ESpeedActionType.Tcping);
break;
case Key.R
case Key.R:
ViewModel?.ServerSpeedtest(ESpeedActionType.Realping);
break;
case Key.S
case Key.S:
_ = ViewModel?.ScanScreenTaskAsync();
break;
case Key.T
case Key.T:
ViewModel?.ServerSpeedtest(ESpeedActionType.Speedtest);
break;
case Key.E
case Key.E:
ViewModel?.ServerSpeedtest(ESpeedActionType.Mixedtest);
break;
}

Loading…
Cancel
Save