mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 18:56:49 -04:00
daemon/user: Add empty state to context
This commit is contained in:
parent
85e0f8c52b
commit
45fa0cca2b
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ pub(crate) struct UserServicesState {}
|
|||
|
||||
pub(crate) struct UserContext {
|
||||
session: Connection,
|
||||
state: UserState,
|
||||
}
|
||||
|
||||
impl DaemonContext for UserContext {
|
||||
|
@ -170,6 +171,7 @@ pub async fn daemon() -> Result<()> {
|
|||
|
||||
let context = UserContext {
|
||||
session: session.clone(),
|
||||
state: UserState::default(),
|
||||
};
|
||||
let mut daemon = Daemon::new(system, rx).await?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue