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

@@ -46,9 +46,9 @@ public class ViewCommandTests
w.LayoutSubViews ();
Application.Current = w;
Application.TopRunnable = w;
Application.SessionStack.Push (w);
Assert.Same (Application.Current, w);
Assert.Same (Application.TopRunnable, w);
// Click button 2
Rectangle btn2Frame = btnB.FrameToScreen ();
@@ -121,9 +121,9 @@ public class ViewCommandTests
w.Add (btn);
Application.Current = w;
Application.TopRunnable = w;
Application.SessionStack.Push (w);
Assert.Same (Application.Current, w);
Assert.Same (Application.TopRunnable, w);
w.LayoutSubViews ();