diff --git a/src/widgets/application.rs b/src/widgets/application.rs index efcdad9..7329803 100644 --- a/src/widgets/application.rs +++ b/src/widgets/application.rs @@ -367,7 +367,7 @@ pub fn layout<'a, Renderer, M>( let content = layout_content(renderer, &limits); let size = limits.resolve(width, height, content.size()); let mut children = vec![content]; - let app_icon_node = &children[0].children()[0].children()[0]; + let app_icon_node = &children[0].children()[0].children()[0].children()[0]; if let Some(icon) = icon { let app_icon_size = app_icon_node.size(); let mut icon_node = layout_icon(