Browse Source

Fixed AllViewsTester

Tig 1 năm trước cách đây
mục cha
commit
d6b25d3aa7
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      UICatalog/Scenarios/AllViewsTester.cs

+ 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;
         }