From c271063390f3f3e83a28883ce5e8947746a3b703 Mon Sep 17 00:00:00 2001 From: Tsanie Lily Date: Sun, 10 May 2020 16:53:41 +0800 Subject: [PATCH] fix: pixiview:// scheme issue --- Pixiview/App.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pixiview/App.cs b/Pixiview/App.cs index 647835f..3c14f39 100644 --- a/Pixiview/App.cs +++ b/Pixiview/App.cs @@ -131,7 +131,7 @@ namespace Pixiview if (current != null && uri != null) { var url = uri.AbsolutePath; - if (uri.Scheme == "pixiview://") + if ("pixiview".Equals(uri.Scheme, StringComparison.OrdinalIgnoreCase)) { var m = Regex.Match(url, "/artworks/([0-9]+)", RegexOptions.IgnoreCase); if (m.Success)