1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-19 19:34:24 +02:00

fix(label): not using markup

This commit is contained in:
Jake Stanger 2023-07-03 22:46:04 +01:00
parent f8d8c06300
commit 1a272e00fb
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -45,11 +45,12 @@ impl Module<Label> for LabelModule {
_info: &ModuleInfo,
) -> Result<ModuleWidget<Label>> {
let label = Label::new(None);
label.set_use_markup(true);
{
let label = label.clone();
context.widget_rx.attach(None, move |string| {
label.set_label(&string);
label.set_markup(&string);
Continue(true)
});
}