fix deprecation warnings that occured due to cursive 0.14.0 upgrade

This commit is contained in:
Henrik Friedrichsen
2020-02-02 20:10:21 +01:00
parent 2039878144
commit 8924b85390
7 changed files with 37 additions and 31 deletions

View File

@@ -72,7 +72,7 @@ impl ContextMenu {
match action {
ContextMenuAction::ShowItem(item) => {
if let Some(view) = item.open(queue, library) {
s.call_on_id("main", move |v: &mut Layout| v.push_view(view));
s.call_on_name("main", move |v: &mut Layout| v.push_view(view));
}
}
ContextMenuAction::ShareUrl(url) => {