Skip to content

Commit fe27d8d

Browse files
modified test case
1 parent 92df6d4 commit fe27d8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Controls/tests/TestCases.HostApp/Issues/Issue24831.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ protected override void OnAppearing()
102102
var window = Window ?? Shell.Current?.Window;
103103
if (window is not null)
104104
{
105+
window.BindingContext = this;
105106
window.TitleBar = _customTitleBar;
106-
// Ensure BindingContext is set after TitleBar is assigned
107-
_customTitleBar.BindingContext = this;
108107
}
109108
}
110109
}

0 commit comments

Comments
 (0)