examples: fix libcosmic features, warnings, etc.

This commit is contained in:
Michael Aaron Murphy 2025-12-05 17:59:42 +01:00
parent f39ad728c9
commit 05c6608842
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
23 changed files with 40 additions and 46 deletions

View file

@ -204,7 +204,7 @@ impl cosmic::Application for App {
}
/// Creates a view after each update.
fn view(&self) -> Element<Self::Message> {
fn view(&self) -> Element<'_, Self::Message> {
cosmic::widget::responsive(|size| {
if size.width < 600.0 {
widget::compact_table(&self.table_model)