diff options
Diffstat (limited to 'src/components/signin.rs')
-rw-r--r-- | src/components/signin.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/signin.rs b/src/components/signin.rs index 159711e..c595bde 100644 --- a/src/components/signin.rs +++ b/src/components/signin.rs @@ -181,7 +181,7 @@ impl AsyncComponent for SignIn { type Input = Input; type Output = Output; /// Client ID for authorizing. - type Init = glib::Uri; + type Init = (glib::Uri, soup::Session); view! { #[root] @@ -254,10 +254,10 @@ impl AsyncComponent for SignIn { sender: AsyncComponentSender<Self>, ) -> impl std::future::Future<Output = AsyncComponentParts<Self>> { let model = Self { - client_id: init, + client_id: init.0, me_buffer: Default::default(), - http: soup::Session::new(), + http: init.1, callback_server: None, busy_guard: None, |