Implement condensed list view
This commit is contained in:
parent
d485e51acb
commit
f8521d5b0d
4 changed files with 113 additions and 59 deletions
|
|
@ -546,7 +546,10 @@ impl Application for App {
|
|||
}
|
||||
|
||||
/// Creates the application, and optionally emits command on initialize.
|
||||
fn init(core: Core, flags: Self::Flags) -> (Self, Command<Self::Message>) {
|
||||
fn init(mut core: Core, flags: Self::Flags) -> (Self, Command<Self::Message>) {
|
||||
//TODO: make set_nav_bar_toggle_condensed pub
|
||||
core.nav_bar_toggle_condensed();
|
||||
|
||||
let app_themes = vec![fl!("match-desktop"), fl!("dark"), fl!("light")];
|
||||
|
||||
let mut nav_model = segmented_button::ModelBuilder::default();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue