style: reordered some imports

This commit is contained in:
Observer KRypt0n_ 2023-06-11 10:58:18 +02:00
parent 03b8b1ff7e
commit 83ed703ad5
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
13 changed files with 20 additions and 7 deletions

View file

@ -1,15 +1,16 @@
use std::path::PathBuf;
use relm4::prelude::*;
use relm4::component::*;
use adw::prelude::*;
use std::path::PathBuf;
use crate::*;
use crate::i18n::*;
use super::main::*;
use crate::ui::components::progress_bar::*;
use super::main::*;
pub struct DefaultPathsApp {
progress_bar: AsyncController<ProgressBar>,

View file

@ -6,6 +6,7 @@ use adw::prelude::*;
use anime_launcher_sdk::is_available;
use crate::i18n::*;
use super::main::FirstRunAppMsg;
pub struct DependenciesApp {

View file

@ -15,6 +15,7 @@ use anime_launcher_sdk::config::ConfigExt;
use anime_launcher_sdk::genshin::config::Config;
use super::main::FirstRunAppMsg;
use crate::ui::components::*;
use crate::i18n::*;
use crate::*;

View file

@ -4,6 +4,7 @@ use relm4::component::*;
use adw::prelude::*;
use crate::i18n::*;
use super::main::*;
pub struct FinishApp;

View file

@ -7,6 +7,7 @@ use anime_launcher_sdk::config::ConfigExt;
use anime_launcher_sdk::genshin::config::Config;
use crate::i18n::*;
use super::main::*;
pub struct SelectVoiceoversApp {

View file

@ -6,6 +6,7 @@ use adw::prelude::*;
use anime_launcher_sdk::is_available;
use crate::i18n::*;
use super::main::FirstRunAppMsg;
use super::main::MAIN_WINDOW;

View file

@ -4,6 +4,7 @@ use relm4::component::*;
use adw::prelude::*;
use crate::i18n::*;
use super::main::FirstRunAppMsg;
pub struct WelcomeApp;

View file

@ -2,6 +2,7 @@ use relm4::prelude::*;
use crate::*;
use crate::i18n::*;
use super::{App, AppMsg};
pub fn apply_patch<T: PatchExt + Send + Sync + 'static>(sender: ComponentSender<App>, patch: T) {

View file

@ -6,6 +6,7 @@ use anime_launcher_sdk::config::ConfigExt;
use anime_launcher_sdk::genshin::config::Config;
use crate::i18n::*;
use super::{App, AppMsg};
pub fn create_prefix(sender: ComponentSender<App>) {

View file

@ -10,6 +10,7 @@ use anime_launcher_sdk::components::wine;
use crate::*;
use crate::i18n::*;
use crate::ui::components::*;
use super::{App, AppMsg};
pub fn download_wine(sender: ComponentSender<App>, progress_bar_input: Sender<ProgressBarMsg>) {

View file

@ -1,6 +1,7 @@
use relm4::prelude::*;
use crate::i18n::*;
use super::{App, AppMsg};
pub fn launch(sender: ComponentSender<App>) {

View file

@ -1,8 +1,9 @@
use relm4::prelude::*;
use std::path::PathBuf;
use relm4::prelude::*;
use crate::*;
use super::{App, AppMsg};
pub fn migrate_folder(sender: ComponentSender<App>, from: PathBuf, to: PathBuf, cleanup_folder: Option<PathBuf>) {

View file

@ -1,3 +1,5 @@
use std::path::Path;
use relm4::{
prelude::*,
Sender
@ -5,11 +7,10 @@ use relm4::{
use gtk::glib::clone;
use std::path::Path;
use crate::*;
use crate::i18n::*;
use crate::ui::components::*;
use super::{App, AppMsg};
#[allow(unused_must_use)]