window: Put toast overlay inside of toolbar view
This commit is contained in:
@@ -39,7 +39,6 @@ template $Window: Adw.ApplicationWindow {
|
||||
"view",
|
||||
]
|
||||
|
||||
child: Adw.ToastOverlay toast_overlay {
|
||||
child: Adw.ToolbarView {
|
||||
[top]
|
||||
Adw.HeaderBar {
|
||||
@@ -126,7 +125,8 @@ template $Window: Adw.ApplicationWindow {
|
||||
}
|
||||
}
|
||||
|
||||
content: Adw.ViewStack {
|
||||
content: Adw.ToastOverlay toast_overlay {
|
||||
child: Adw.ViewStack {
|
||||
enable-transitions: true;
|
||||
visible-child-name: bind $_if_else(grid.model as <NoSelection>.n-items, "grid", $_if_else(template.search-text, "empty-search", $_if_else(template.show-hidden, "empty-hidden", "empty") as <string>) as <string>) as <string>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user