From b8af73ee0f1516cde9b59d92960f19903b505c5e Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Mon, 20 Feb 2023 05:42:34 +0200 Subject: [PATCH] Update notification implementation to include inline set cover function --- src/notification.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/notification.rs b/src/notification.rs index 324f448..85dc1ac 100644 --- a/src/notification.rs +++ b/src/notification.rs @@ -115,6 +115,7 @@ impl NotificationsHandler { }; } + #[inline] fn set_cover(&mut self, track: &Track) { // Reset the notification self.notification = Notification::new();