From 3314b7e597a11b5c6fa653ec9c18058aff64adde Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Fri, 7 Apr 2023 13:09:08 +0200 Subject: [PATCH] gui: fix a misleading tooltip on hw connection error The error may not be due to an unsupported version. For instance the device may just be locked. In these cases telling the user to update their device is very misleading. Fixes #418. --- gui/ui/src/component/hw.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/ui/src/component/hw.rs b/gui/ui/src/component/hw.rs index 30484792..335badbb 100644 --- a/gui/ui/src/component/hw.rs +++ b/gui/ui/src/component/hw.rs @@ -213,7 +213,7 @@ pub fn unsupported_hardware_wallet<'a, T: 'a, K: Display, V: Display>( column(vec![ Row::new() .spacing(5) - .push(text("Unsupported version").bold()) + .push(text("Connection error").bold()) .into(), Row::new() .spacing(5) @@ -225,7 +225,7 @@ pub fn unsupported_hardware_wallet<'a, T: 'a, K: Display, V: Display>( .into(), tooltip::Tooltip::new( icon::warning_icon(), - "Please update the application on your device", + "Make sure your device is unlocked and a supported Bitcoin application is opened.", tooltip::Position::Bottom, ) .style(theme::Container::Card(theme::Card::Simple))