remove redundant method to_color32

This commit is contained in:
2025-04-26 04:42:29 +01:00
parent 3610e44a08
commit 1dbdc0e4cb
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ impl App {
let label = ui.horizontal(|ui| { let label = ui.horizontal(|ui| {
let label = ui.label("Game's network access"); let label = ui.label("Game's network access");
ui.add_space(1.0); ui.add_space(1.0);
ui.create_indicator_dot(self.game_networking.blocked_status.to_color32()) ui.create_indicator_dot(self.game_networking.blocked_status)
.on_hover_text( .on_hover_text(
"This turns yellow if GTA Tools\ncannot find your game.", "This turns yellow if GTA Tools\ncannot find your game.",
); );
-6
View File
@@ -14,9 +14,3 @@ impl From<BlockedStatus> for egui::Color32 {
} }
} }
} }
impl BlockedStatus {
pub fn to_color32(self) -> egui::Color32 {
self.into()
}
}