mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-09 15:19:11 +02:00
bug(uad-ng): logo not visible on Windows 11 light mode
- added logo dark logo
This commit is contained in:
parent
a6ee1c3e63
commit
cfa9011906
4 changed files with 796 additions and 23 deletions
812
Cargo.lock
generated
812
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -18,6 +18,7 @@ self-update = ["flate2", "tar"]
|
|||
no-self-update = []
|
||||
|
||||
[dependencies]
|
||||
dark-light = { version = "^1.0.0" }
|
||||
serde = { version = "^1.0", features = ["derive"] }
|
||||
serde_json = "^1.0"
|
||||
static_init = "^1.0"
|
||||
|
|
|
|||
BIN
resources/assets/logo-dark.png
Normal file
BIN
resources/assets/logo-dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
|
|
@ -376,7 +376,11 @@ impl Application for UadGui {
|
|||
|
||||
impl UadGui {
|
||||
pub fn start() -> iced::Result {
|
||||
let logo = include_bytes!("../../resources/assets/logo.png");
|
||||
let logo: &[u8] = match dark_light::detect() {
|
||||
dark_light::Mode::Dark => include_bytes!("../../resources/assets/logo-dark.png"),
|
||||
dark_light::Mode::Light => include_bytes!("../../resources/assets/logo.png"),
|
||||
dark_light::Mode::Default => include_bytes!("../../resources/assets/logo.png"),
|
||||
};
|
||||
|
||||
Self::run(Settings {
|
||||
window: Window {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue