mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-10-09 03:29:52 +00:00
replace message FetchDevices with message Periodic
This commit is contained in:
parent
55dcbddb35
commit
12c5d46a80
3 changed files with 14 additions and 14 deletions
|
|
@ -56,7 +56,7 @@ pub fn handle_cli_args() -> Task<Message> {
|
|||
|
||||
let mut boot_task_chain = window::get_latest()
|
||||
.map(Message::StartApp)
|
||||
.chain(Task::done(Message::FetchDevices));
|
||||
.chain(Task::done(Message::Periodic));
|
||||
if let Some(adapter) = args.adapter {
|
||||
boot_task_chain = boot_task_chain
|
||||
.chain(Task::done(Message::DeviceSelection(adapter)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue