HeaderBar Refactor.

Removed the Headerbar stack.
Removed the ShowTitle.
Fixed StackSwitcher centering.
Set the Headerbar button valignment to center instead of fill.
This commit is contained in:
Jordan Petridis
2017-12-14 14:27:51 +02:00
parent fe136c8dbe
commit 9d07ba24b8
3 changed files with 65 additions and 149 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ impl ShowsPopulated {
let pd = dbqueries::get_podcast_from_id(id).unwrap();
show.replace_widget(&pd);
header.set_show_title(pd.title());
// header.set_show_title(pd.title());
header.switch_to_back();
show.switch_widget_animated();
}));