From 4592661a1bda0aaa6396dfcfd59d1d3d0302a244 Mon Sep 17 00:00:00 2001 From: Milan Stastny Date: Sat, 20 Apr 2024 09:56:14 +0200 Subject: [PATCH] Work in progress move to async-channel --- .idea/runConfigurations/Run.xml | 4 +- Cargo.toml | 2 +- src/main.rs | 9 -- src/models/engine_data.rs | 2 + src/models/mod.rs | 14 ++- src/models/plugin_data.rs | 1 + src/models/project_data.rs | 67 +++++------ src/ui/authentication.rs | 12 +- src/ui/widgets/download_manager/asset.rs | 90 +++++++++----- src/ui/widgets/download_manager/docker.rs | 27 +++-- src/ui/widgets/download_manager/epic_file.rs | 69 +++++++---- src/ui/widgets/download_manager/mod.rs | 29 ++--- .../logged_in/engines/docker_download.rs | 30 ++--- .../logged_in/engines/epic_download.rs | 113 ++++++++++-------- src/ui/widgets/logged_in/engines/mod.rs | 45 +++---- .../widgets/logged_in/library/actions/mod.rs | 23 ++-- .../widgets/logged_in/library/image_stack.rs | 48 ++++---- src/ui/widgets/logged_in/library/mod.rs | 23 ++-- .../widgets/logged_in/library/sidebar/mod.rs | 39 +++--- src/ui/widgets/logged_in/logs.rs | 12 +- src/ui/widgets/logged_in/plugins.rs | 14 ++- src/ui/widgets/logged_in/projects/mod.rs | 44 ++++--- src/window.rs | 18 +-- 23 files changed, 411 insertions(+), 324 deletions(-) diff --git a/.idea/runConfigurations/Run.xml b/.idea/runConfigurations/Run.xml index 998f402..05c8d74 100644 --- a/.idea/runConfigurations/Run.xml +++ b/.idea/runConfigurations/Run.xml @@ -11,7 +11,9 @@