mirror of
https://github.com/talwat/lowfi
synced 2025-12-09 16:34:12 +00:00
chore: initialize ui before downloader
This commit is contained in:
parent
b36cd89638
commit
1c8c788d76
@ -97,8 +97,8 @@ impl Player {
|
|||||||
sink.set_volume(volume.float());
|
sink.set_volume(volume.float());
|
||||||
|
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
downloader: Downloader::init(args.buffer_size as usize, list, tx.clone()).await,
|
|
||||||
ui: ui::Handle::init(tx.clone(), urx, state, &args).await?,
|
ui: ui::Handle::init(tx.clone(), urx, state, &args).await?,
|
||||||
|
downloader: Downloader::init(args.buffer_size as usize, list, tx.clone()).await,
|
||||||
waiter: waiter::Handle::new(sink.clone(), tx.clone()),
|
waiter: waiter::Handle::new(sink.clone(), tx.clone()),
|
||||||
bookmarks: Bookmarks::load().await?,
|
bookmarks: Bookmarks::load().await?,
|
||||||
current,
|
current,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user