fix installer register error
This commit is contained in:
parent
6572b2fa4a
commit
0969565b7e
@ -326,7 +326,7 @@ pub fn register_descriptor<'a>(
|
||||
.spacing(10)
|
||||
.max_width(1000),
|
||||
))
|
||||
.push_maybe(error.map(|e| card::error("Failed to import xpub", e.to_string())))
|
||||
.push_maybe(error.map(|e| card::error("Failed to register descriptor", e.to_string())))
|
||||
.push(
|
||||
Column::new()
|
||||
.push(
|
||||
|
||||
@ -81,7 +81,7 @@ pub fn error<'a, T: 'a>(message: &'static str, error: String) -> widget::Contain
|
||||
Row::new()
|
||||
.spacing(20)
|
||||
.align_items(iced::Alignment::Center)
|
||||
.push(icon::block_icon().style(color::ALERT))
|
||||
.push(icon::warning_icon().style(color::ALERT))
|
||||
.push(text(message).style(color::ALERT)),
|
||||
error,
|
||||
widget::tooltip::Position::Bottom,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user