Formatting

This commit is contained in:
Reinout Meliesie 2025-02-05 14:57:07 +01:00
commit 2803767ed8
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
11 changed files with 86 additions and 81 deletions

View file

@ -3,17 +3,18 @@ mod data_manager ;
mod ui ;
mod utility ;
use {
gtk4 :: {
CssProvider ,
style_context_add_provider_for_display ,
STYLE_PROVIDER_PRIORITY_APPLICATION ,
gdk :: * ,
glib :: * ,
} ,
libadwaita :: { * , prelude :: * } } ;
use gtk4 :: CssProvider ;
use gtk4 :: style_context_add_provider_for_display ;
use gtk4 :: STYLE_PROVIDER_PRIORITY_APPLICATION ;
use gtk4 :: gdk :: * ;
use gtk4 :: glib :: * ;
use libadwaita :: * ;
use libadwaita :: prelude :: * ;
use crate :: { data_manager :: * , error :: { * , ZoodexError :: * } , ui :: * } ;
use crate :: data_manager :: * ;
use crate :: error :: * ;
use crate :: error :: ZoodexError :: * ;
use crate :: ui :: * ;
@ -36,8 +37,8 @@ fn add_style_provider ( _ : & Application ) {
) ;
}
fn show_window ( app : & Application ) {
let ui = UI :: new (app) ;
fn show_window ( application : & Application ) {
let ui = UI :: new (application) ;
ui . show_window () ;
spawn_future_local ( async move {