2
0
Tig 1 жил өмнө
parent
commit
d6b25d3aa7

+ 1 - 3
UICatalog/Scenarios/AllViewsTester.cs

@@ -478,9 +478,7 @@ public class AllViewsTester : Scenario
 
     private void View_Initialized (object sender, EventArgs e)
     {
-        var view = sender as View;
-
-        if (view is null)
+        if (sender is not View view)
         {
             return;
         }