From 30aedb3e5b8b10cb0df9f937a5d362fccb91bf34 Mon Sep 17 00:00:00 2001 From: Michael Mallan Date: Wed, 23 Apr 2025 12:29:01 +0100 Subject: [PATCH] fix: use singular for one coin --- liana-gui/src/app/view/recovery.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liana-gui/src/app/view/recovery.rs b/liana-gui/src/app/view/recovery.rs index d02e3b79..de3dcb83 100644 --- a/liana-gui/src/app/view/recovery.rs +++ b/liana-gui/src/app/view/recovery.rs @@ -137,7 +137,7 @@ pub fn recovery_path_view<'a>( .push(text(format!( "{} coin{} totalling", number_of_coins, - if number_of_coins > 0 { "s" } else { "" } + if number_of_coins > 1 { "s" } else { "" } ))) .push(amount(&total_amount)), )