Skip to content

Commit

Permalink
testing clippy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trumank committed Aug 13, 2023
1 parent 7f1ec73 commit 9ef2578
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,13 @@ impl App {
ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| {
match approval_status {
crate::providers::ApprovalStatus::Verified => {
mk_searchable_modio_tag("Verified", ui, Some(egui::Color32::LIGHT_GREEN), None);
mk_searchable_modio_tag("Verified", ui, Some(egui::Color32::LIGHT_GREEN), Some("Does not contain any gameplay affecting features or changes"));
}
crate::providers::ApprovalStatus::Approved => {
mk_searchable_modio_tag("Approved", ui, Some(egui::Color32::LIGHT_BLUE), None);
mk_searchable_modio_tag("Approved", ui, Some(egui::Color32::LIGHT_BLUE), Some("Contains gameplay affecting features or changes"));
}
crate::providers::ApprovalStatus::Sandbox => {
mk_searchable_modio_tag("Sandbox", ui, Some(egui::Color32::LIGHT_YELLOW), None);
mk_searchable_modio_tag("Sandbox", ui, Some(egui::Color32::LIGHT_YELLOW), Some("Contains significant, possibly progression breaking, changes to gameplay"));
}
}

Expand All @@ -399,7 +399,7 @@ impl App {
mk_searchable_modio_tag("RequiredByAll", ui, Some(egui::Color32::LIGHT_RED), Some("All lobby members must use this mod for it to work correctly!"));
}
crate::providers::RequiredStatus::Optional => {
mk_searchable_modio_tag("Optional", ui, None, None);
mk_searchable_modio_tag("Optional", ui, None, Some(&"Clients are not required to install this mod to function"));
}
}

Expand Down

0 comments on commit 9ef2578

Please sign in to comment.