Rename IApplication.Current to TopRunnable

Co-authored-by: tig <585482+tig@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-20 19:34:48 +00:00
parent 16b42e86fd
commit 4b975fd5b7
90 changed files with 916 additions and 820 deletions

View File

@@ -29,8 +29,8 @@ public class NavigationTests (ITestOutputHelper outputHelper)
w2.Add (v3, v4);
var w3 = new Window { Id = "w3" };
w3.Add (v5, v6);
Toplevel top = app?.Current!;
app?.Current!.Add (w1, w2, w3);
Toplevel top = app?.TopRunnable!;
app?.TopRunnable!.Add (w1, w2, w3);
})
.AssertTrue (v5.HasFocus)
.EnqueueKeyEvent (Key.F6)