From 454fae9b4120dace83a362586449e6f9648eeb2a Mon Sep 17 00:00:00 2001 From: Anatolij Vasilev Date: Mon, 6 May 2024 09:55:16 +0200 Subject: [PATCH] #35 replaced multibyte x --- src/ui/decoder.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ui/decoder.rs b/src/ui/decoder.rs index b3d6b67..4bf6034 100644 --- a/src/ui/decoder.rs +++ b/src/ui/decoder.rs @@ -85,7 +85,7 @@ fn check_verification_status(signature_verified: bool) -> &'static str { if signature_verified { "Signature: ✔ Valid" } else { - "Signature: ❌ Invalid" + "Signature: × Invalid" } } @@ -220,9 +220,7 @@ mod tests { (0 | 16..=49, 0) | (0..=49, 13) | (0 | 49, 1..=13 | 20..=99) => { expected .get_mut(col, row) - .set_style( - Style::default().fg(COLOR_YELLOW) - ); + .set_style(Style::default().fg(COLOR_YELLOW)); } (51, 1 | 4 | 9 | 11 | 13) | (51..=65, 2)