(&self)
| 276 | } |
| 277 | |
| 278 | fn should_show_tips(&self) -> bool { |
| 279 | let is_first_time_user = self.context.session.read().sessions.is_empty(); |
| 280 | let tips_hidden = *self.context.tips_hidden.read(); |
| 281 | !is_first_time_user && !tips_hidden |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | fn parse_tip_highlights(tip: &str, theme: &crate::theme::Theme) -> Vec<Span<'static>> { |
no test coverage detected