Compare commits

..

No commits in common. "ae3f722521a89f8ec7c6e549388539d3a87fe7a9" and "1d0e6623650aeb034776fa02ae5f8092a97cbbf9" have entirely different histories.

View file

@ -16,7 +16,7 @@ use cosmic::{
Alignment, Length, Subscription,
advanced::text::{Ellipsize, EllipsizeHeightLimit},
platform_specific::shell::wayland::commands::popup::{destroy_popup, get_popup},
widget::{self, column, rich_text, row},
widget::{self, column, row},
window,
},
surface, theme,
@ -26,7 +26,7 @@ use cosmic::{
use cosmic::iced::futures::executor::block_on;
use cosmic_notifications_config::NotificationsConfig;
use cosmic_notifications_util::{ActionId, Image, Notification, markup};
use cosmic_notifications_util::{ActionId, Image, Notification};
use std::{borrow::Cow, collections::HashMap, path::PathBuf, sync::LazyLock};
use subscriptions::notifications::{self, NotificationsAppletProxy};
use tokio::sync::mpsc::Sender;
@ -456,11 +456,8 @@ impl cosmic::Application for Notifications {
column![
text::body(n.summary.lines().next().unwrap_or_default())
.width(Length::Fill),
Element::from(
rich_text(markup::html_to_spans(&n.body))
.size(12.0)
.width(Length::Fill)
)
text::caption(n.body.lines().next().unwrap_or_default())
.width(Length::Fill)
]
)
.width(Length::Fill),