Skip to content

Commit 6adcc98

Browse files
committed
fixed inputshare-gui to compile
1 parent e45a955 commit 6adcc98

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

inputshare-gui/src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pub fn create_client<'a>(mut stream: TcpStream) -> InputHook<'a>{
155155
}
156156
}
157157
});
158-
_hook
158+
_hook.unwrap()
159159
}
160160

161161

inputshare-gui/src/pages/default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl DefaultPage {
7272
hook: Some(InputHook::new(|even| {
7373
println!("Test");
7474
true
75-
})),
75+
}).unwrap()),
7676
..Default::default()
7777
}
7878
}

0 commit comments

Comments
 (0)