diff --git a/src/applet/mod.rs b/src/applet/mod.rs index a9c98e8a..522dc8e2 100644 --- a/src/applet/mod.rs +++ b/src/applet/mod.rs @@ -48,10 +48,10 @@ impl CosmicAppletHelper { } // TODO popup container which tracks the size of itself and requests the popup to resize to match - pub fn popup_container( + pub fn popup_container<'a, Message: 'static>( &self, - content: impl Into>, - ) -> Container + content: impl Into>, + ) -> Container<'a, Message, Renderer> { let (valign, halign) = match self.anchor { PanelAnchor::Left => (Vertical::Center, Horizontal::Left),