android: hide chrome sidebar by default

When compiled as android, make sure we hide the chrome sidebar
by default

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-10 13:33:27 -07:00
parent 6172777b1a
commit cf1814f250

View File

@@ -29,7 +29,8 @@ impl Default for Chrome {
Self {
active: 0,
tab_selected: 0,
open: true,
// sidemenu is not open by default on mobile/narrow uis
open: !notedeck::ui::is_compiled_as_mobile(),
apps: vec![],
#[cfg(feature = "memory")]