diff --git a/src/application.rs b/src/application.rs index b3888695..f34e54e3 100644 --- a/src/application.rs +++ b/src/application.rs @@ -24,7 +24,8 @@ pub(crate) const APP_NAME: &str = "Fractal"; /// The URL of the homepage of the application. pub(crate) const APP_HOMEPAGE_URL: &str = "https://gitlab.gnome.org/World/fractal/"; /// The URL of the icon of the application. -pub(crate) const APP_ICON_URL: &str = "https://gitlab.gnome.org/uploads/-/system/project/avatar/147/fractal-avatar.png"; +pub(crate) const APP_ICON_URL: &str = + "https://gitlab.gnome.org/uploads/-/system/project/avatar/147/fractal-avatar.png"; mod imp { use std::cell::Cell; diff --git a/src/login/mod.rs b/src/login/mod.rs index edc532f4..d0d3be5f 100644 --- a/src/login/mod.rs +++ b/src/login/mod.rs @@ -34,9 +34,9 @@ use self::{ session_setup_view::SessionSetupView, }; use crate::{ - APP_HOMEPAGE_URL, APP_ICON_URL, APP_NAME, Application, RUNTIME, SETTINGS_KEY_CURRENT_SESSION, Window, - components::OfflineBanner, prelude::*, secret::Secret, session::Session, spawn, spawn_tokio, - toast, + APP_HOMEPAGE_URL, APP_ICON_URL, APP_NAME, Application, RUNTIME, SETTINGS_KEY_CURRENT_SESSION, + Window, components::OfflineBanner, prelude::*, secret::Secret, session::Session, spawn, + spawn_tokio, toast, }; /// A page of the login stack. @@ -545,8 +545,7 @@ fn client_registration_data() -> ClientRegistrationData { let client_uri = Url::parse(APP_HOMEPAGE_URL).expect("application homepage URL should be a valid URL"); - let logo_uri = - Url::parse(APP_ICON_URL).expect("application icon URL should be a valid URL"); + let logo_uri = Url::parse(APP_ICON_URL).expect("application icon URL should be a valid URL"); let mut client_metadata = ClientMetadata::new( ApplicationType::Native,