mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-20 09:54:19 +01:00
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:
@@ -29,7 +29,8 @@ impl Default for Chrome {
|
|||||||
Self {
|
Self {
|
||||||
active: 0,
|
active: 0,
|
||||||
tab_selected: 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![],
|
apps: vec![],
|
||||||
|
|
||||||
#[cfg(feature = "memory")]
|
#[cfg(feature = "memory")]
|
||||||
|
|||||||
Reference in New Issue
Block a user