Refactored empty view logic.

This commit is contained in:
Jordan Petridis
2017-11-10 16:15:53 +02:00
parent fe571df1d5
commit f2476cde65
4 changed files with 35 additions and 29 deletions
+1 -1
View File
@@ -75,8 +75,8 @@ fn on_unsub_button_clicked(
}
};
}
stack.set_visible_child_name("fb_parent");
update_podcasts_view(db, stack);
stack.set_visible_child_name("fb_parent")
}
fn on_played_button_clicked(db: &Database, stack: &gtk::Stack, pd: &Podcast) {