clippy: fix char-comparison and map_or lints
All checks were successful
dev release / build (push) Successful in 1m52s

(cherry picked from commit 2e393082a744fe85f1ca1f8c6af48ce288e64b6c)
This commit is contained in:
Breadway 2026-08-06 08:47:05 +08:00
parent cd7465a18b
commit 9c4205b1b2
2 changed files with 2 additions and 2 deletions

View file

@ -1023,7 +1023,7 @@ impl SimpleComponent for App {
let within_linger = self
.media_paused_at
.map_or(true, |t| t.elapsed().as_secs() < 30 * 60);
.is_none_or(|t| t.elapsed().as_secs() < 30 * 60);
self.media_last = Some(state);
reveal_media(&self.media_widget, within_linger);
} else {