diff --git a/crates/ui-shell/src/shell/start.rs b/crates/ui-shell/src/shell/start.rs index df8a32e61..d505f619a 100644 --- a/crates/ui-shell/src/shell/start.rs +++ b/crates/ui-shell/src/shell/start.rs @@ -162,6 +162,9 @@ impl Outcome for StartOutput { } } +/// An app's own section of the start screen: its title and its body. +type AppSection<'a> = (Label, RefCell<&'a mut dyn FnMut(&mut Ui)>); + /// The start screen, shown in a shell's body when no document is open. /// /// - **Layout.** New and Open (the first Tab stops), then Recent with the view switch and the sort, Pinned Folders @@ -214,7 +217,7 @@ pub struct StartScreen<'a> { #[prop(into)] drop_hint: Option