mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Implement deletion
This commit is contained in:
parent
b25d7fe8ee
commit
751dcde351
8 changed files with 340 additions and 40 deletions
|
|
@ -29,6 +29,8 @@ mod imp {
|
|||
pub player: Player,
|
||||
pub process_manager: ProcessManager,
|
||||
|
||||
#[template_child]
|
||||
pub toast_overlay: TemplateChild<adw::ToastOverlay>,
|
||||
#[template_child]
|
||||
pub stack: TemplateChild<gtk::Stack>,
|
||||
#[template_child]
|
||||
|
|
@ -242,6 +244,7 @@ impl Window {
|
|||
fn reset_view(&self) {
|
||||
let navigation = self.imp().navigation_view.get();
|
||||
navigation.replace(&[SearchPage::new(
|
||||
&self.imp().toast_overlay,
|
||||
&navigation,
|
||||
self.imp().library.borrow().as_ref().unwrap(),
|
||||
&self.imp().player,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue