Convert more screens to SimpleDialogScreen

This commit is contained in:
Henrik Rydgård
2025-10-29 09:12:37 +01:00
parent e37c0cbef3
commit 78f20846c5
9 changed files with 27 additions and 28 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ void UISimpleBaseDialogScreen::CreateViews() {
const bool portrait = UsePortraitLayout();
root_ = new LinearLayout(ORIENT_VERTICAL, new LayoutParams(FILL_PARENT, FILL_PARENT));
root_->Add(new TopBar(GetTitle()));
root_->Add(new TopBar(*screenManager()->getUIContext(), GetTitle()));
if (canScroll) {
ScrollView *scroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT, 1.0f));