Skip to content

Commit f3b0e6d

Browse files
authored
Merge pull request #82479 from Procyonae/ChangeAndroidDefaultSidebar
Change the default sidebar to be sidebar-mobile on mobile
2 parents c4a5aee + 35d7624 commit f3b0e6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/panels.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,11 @@ static std::map<std::string, panel_layout> initialize_default_panel_layouts()
412412

413413
panel_manager::panel_manager()
414414
{
415+
#if defined(__ANDROID__)
416+
current_layout_id = "sidebar-mobile";
417+
#else
415418
current_layout_id = "legacy_labels_sidebar";
419+
#endif
416420
// Set empty layouts; these will be populated by load()
417421
layouts = std::map<std::string, panel_layout>();
418422
}

0 commit comments

Comments
 (0)