meli/notifications: fix macos compilation

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
This commit is contained in:
Manos Pitsidianakis 2023-12-03 18:49:14 +02:00
parent 63a63253d7
commit 2c6f180df9
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0

View File

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