meli/notifications: fix macos compilation

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/318/head
Manos Pitsidianakis 6 months ago
parent 63a63253d7
commit 2c6f180df9
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0

@ -245,7 +245,7 @@ impl Component for NotificationCommand {
message = body.replace('"', "'"), message = body.replace('"', "'"),
title = title title = title
.as_ref() .as_ref()
.map(String::as_str) .map(<_>::as_ref)
.unwrap_or("meli") .unwrap_or("meli")
.replace('"', "'"), .replace('"', "'"),
subtitle = kind subtitle = kind

Loading…
Cancel
Save