Update notification implementation to include inline set cover function

This commit is contained in:
Anas Elgarhy 2023-02-20 05:42:34 +02:00
parent 4773c1c1cd
commit b8af73ee0f
No known key found for this signature in database
GPG Key ID: 0501802A1D496528
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ impl NotificationsHandler {
};
}
#[inline]
fn set_cover(&mut self, track: &Track) {
// Reset the notification
self.notification = Notification::new();