fix formatting

This commit is contained in:
Felix Prillwitz 2024-12-16 23:12:06 +01:00
parent ff4545dadf
commit 51eb100e77
No known key found for this signature in database
GPG key ID: DE334B43606D1455
2 changed files with 3 additions and 4 deletions

View file

@ -134,9 +134,7 @@ impl ResolveContext {
/// the actual context uri /// the actual context uri
pub fn context_uri(&self) -> &str { pub fn context_uri(&self) -> &str {
self.context self.context.uri.as_deref().unwrap_or_default()
.uri.as_deref()
.unwrap_or_default()
} }
pub fn autoplay(&self) -> bool { pub fn autoplay(&self) -> bool {

View file

@ -29,7 +29,8 @@ pub const SPOTIFY_PROPERTY_SET_ID: &str = "b4c7e4b5835079ed94391b2e65fca0fdba65e
pub const SPOTIFY_MOBILE_VERSION: &str = "8.9.82.620"; pub const SPOTIFY_MOBILE_VERSION: &str = "8.9.82.620";
/// `property_set_id` related to mobile version 8.9.82.620 /// `property_set_id` related to mobile version 8.9.82.620
pub const SPOTIFY_MOBILE_PROPERTY_SET_ID: &str = "5ec87c2cc32e7c509703582cfaaa3c7ad253129d5701127c1f5eab5c9531736c"; pub const SPOTIFY_MOBILE_PROPERTY_SET_ID: &str =
"5ec87c2cc32e7c509703582cfaaa3c7ad253129d5701127c1f5eab5c9531736c";
/// The general spirc version /// The general spirc version
pub const SPOTIFY_SPIRC_VERSION: &str = "3.2.6"; pub const SPOTIFY_SPIRC_VERSION: &str = "3.2.6";