mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2024-11-22 12:49:02 +03:00
style: reordered some imports
This commit is contained in:
parent
03b8b1ff7e
commit
83ed703ad5
13 changed files with 20 additions and 7 deletions
|
@ -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>,
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ use adw::prelude::*;
|
|||
use anime_launcher_sdk::is_available;
|
||||
|
||||
use crate::i18n::*;
|
||||
|
||||
use super::main::FirstRunAppMsg;
|
||||
|
||||
pub struct DependenciesApp {
|
||||
|
|
|
@ -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::*;
|
||||
|
|
|
@ -4,6 +4,7 @@ use relm4::component::*;
|
|||
use adw::prelude::*;
|
||||
|
||||
use crate::i18n::*;
|
||||
|
||||
use super::main::*;
|
||||
|
||||
pub struct FinishApp;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -4,6 +4,7 @@ use relm4::component::*;
|
|||
use adw::prelude::*;
|
||||
|
||||
use crate::i18n::*;
|
||||
|
||||
use super::main::FirstRunAppMsg;
|
||||
|
||||
pub struct WelcomeApp;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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>) {
|
||||
|
|
|
@ -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>) {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
use relm4::prelude::*;
|
||||
|
||||
use crate::i18n::*;
|
||||
|
||||
use super::{App, AppMsg};
|
||||
|
||||
pub fn launch(sender: ComponentSender<App>) {
|
||||
|
|
|
@ -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>) {
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue