Set detail text shown alongside the active step (e.g. image name).
(&mut self, detail: &str)
| 345 | |
| 346 | /// Set detail text shown alongside the active step (e.g. image name). |
| 347 | fn set_active_detail(&mut self, detail: &str) { |
| 348 | self.active_detail = detail.to_string(); |
| 349 | self.update_spinner(); |
| 350 | } |
| 351 | |
| 352 | fn update_spinner(&self) { |
| 353 | let msg = if self.active_detail.is_empty() { |
no test coverage detected