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.
This commit is contained in:
parent
fb6433439c
commit
3314b7e597
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user