Allow modals to override their dismissal

Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
Joseph T. Lyons
2023-12-08 15:29:44 -05:00
co-authored by Mikayla Maki
parent 1c850f495c
commit 113c7287df
13 changed files with 118 additions and 46 deletions
+3 -1
View File
@@ -17,10 +17,12 @@ use std::{
use text::Point;
use ui::{prelude::*, HighlightedLabel, ListItem};
use util::{paths::PathLikeWithPosition, post_inc, ResultExt};
use workspace::Workspace;
use workspace::{ModalView, Workspace};
actions!(Toggle);
impl ModalView for FileFinder {}
pub struct FileFinder {
picker: View<Picker<FileFinderDelegate>>,
}