mirror of
https://github.com/talwat/lowfi
synced 2025-12-07 23:47:46 +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());
|
||||
|
||||
Ok(Self {
|
||||
downloader: Downloader::init(args.buffer_size as usize, list, tx.clone()).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()),
|
||||
bookmarks: Bookmarks::load().await?,
|
||||
current,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user