mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Make use of "or" keyword in switch statements (#2598)
This commit is contained in:
@@ -867,8 +867,7 @@ public sealed class WebBrowser : IDisposable {
|
||||
|
||||
if (redirectUri.IsAbsoluteUri) {
|
||||
switch (redirectUri.Scheme) {
|
||||
case "http":
|
||||
case "https":
|
||||
case "http" or "https":
|
||||
break;
|
||||
case "steammobile":
|
||||
// Those redirections are invalid, but we're aware of that and we have extra logic for them
|
||||
|
||||
Reference in New Issue
Block a user