diff options
Diffstat (limited to 'src/utils/spotify.rs')
-rw-r--r-- | src/utils/spotify.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/spotify.rs b/src/utils/spotify.rs index c48471d..5da9fea 100644 --- a/src/utils/spotify.rs +++ b/src/utils/spotify.rs @@ -5,7 +5,7 @@ use dbus::{arg, blocking::Connection}; use std::time::Duration; // getting spotify current artist and title. -pub fn get_spotify() -> ThreadsData { +pub async fn get_spotify() -> ThreadsData { let empty_data = ThreadsData::Spotify(String::from("")); let conn = match Connection::new_session() { Ok(conn) => conn, |