|
|
|
|
@ -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, |
|
|
|
|
|