mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-27 15:51:34 +02:00
Fix clippy warnings on build
This commit is contained in:
parent
34e1e69790
commit
223be292dd
3 changed files with 11 additions and 25 deletions
20
Cargo.lock
generated
20
Cargo.lock
generated
|
|
@ -2,16 +2,6 @@
|
|||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "UadGui"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"iced",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"static_init",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ab_glyph"
|
||||
version = "0.2.11"
|
||||
|
|
@ -2377,6 +2367,16 @@ dependencies = [
|
|||
"static_assertions",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "uad_gui"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"iced",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"static_init",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ucd-trie"
|
||||
version = "0.1.3"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
cargo-features = ["strip"] # nightly
|
||||
|
||||
[package]
|
||||
name = "UadGui"
|
||||
name = "uad_gui"
|
||||
version = "0.1.0"
|
||||
authors = ["w1nst0n"]
|
||||
edition = "2021"
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@ impl button::StyleSheet for PrimaryButton {
|
|||
pub enum PackageButton {
|
||||
Uninstall,
|
||||
Restore,
|
||||
Disabled,
|
||||
}
|
||||
|
||||
impl button::StyleSheet for PackageButton {
|
||||
|
|
@ -87,14 +86,6 @@ impl button::StyleSheet for PackageButton {
|
|||
text_color: Color::from_rgb8(0xEE, 0xEE, 0xEE),
|
||||
..button::Style::default()
|
||||
},
|
||||
Self::Disabled => button::Style {
|
||||
background: Some(Background::Color(DISABLED_COLOR)),
|
||||
border_color: Color::TRANSPARENT,
|
||||
border_width: 2.0,
|
||||
shadow_offset: Vector::new(0.0, 0.0),
|
||||
text_color: Color::BLACK,
|
||||
..button::Style::default()
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -110,11 +101,6 @@ impl button::StyleSheet for PackageButton {
|
|||
text_color: Color::WHITE,
|
||||
..self.active()
|
||||
},
|
||||
Self::Disabled => button::Style {
|
||||
background: Some(Background::Color(DISABLED_COLOR)),
|
||||
text_color: Color::BLACK,
|
||||
..self.active()
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue