Implement new file/folder
This commit is contained in:
parent
0ed3f07ebc
commit
326fb4ba1f
4 changed files with 188 additions and 34 deletions
|
|
@ -372,8 +372,12 @@ impl Application for App {
|
|||
widget::dialog(fl!("replace-title", filename = filename.as_str()))
|
||||
.icon(widget::icon::from_name("dialog-question").size(64))
|
||||
.body(fl!("replace-warning"))
|
||||
.primary_action(fl!("replace"), Message::Save(true))
|
||||
.secondary_action(fl!("cancel"), Message::Cancel)
|
||||
.primary_action(
|
||||
widget::button::suggested(fl!("replace")).on_press(Message::Save(true)),
|
||||
)
|
||||
.secondary_action(
|
||||
widget::button::standard(fl!("cancel")).on_press(Message::Cancel),
|
||||
)
|
||||
.into(),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue