From e03da6380de99bd193ba6f4ecbf7eee89b0bb122 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Wed, 7 Dec 2022 11:26:49 -0500 Subject: [PATCH] fix: lifetime --- src/applet/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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),