diff --git a/UICatalog/Scenario.cs b/UICatalog/Scenario.cs index b526901b5..cb25d9734 100644 --- a/UICatalog/Scenario.cs +++ b/UICatalog/Scenario.cs @@ -180,7 +180,7 @@ public class Scenario : IDisposable } private List? _demoKeys; - private int _currentDemoKey = 0; + private int _currentDemoKey; private void OnApplicationOnInitializedChanged (object? s, EventArgs a) { @@ -233,7 +233,6 @@ public class Scenario : IDisposable { SubscribeAllSubViews (Application.Top!); - _currentDemoKey = 0; _demoKeys = GetDemoKeyStrokes (); Application.AddTimeout (