gui: fix liana connect invitation alignement

This commit is contained in:
pythcoiner 2025-04-01 02:49:21 +02:00
parent 46ad749b78
commit fb5a51f09c
No known key found for this signature in database
GPG Key ID: C1048AEEDF303B88

View File

@ -109,18 +109,23 @@ pub fn import_wallet_or_descriptor<'a>(
.push(
Row::new()
.spacing(5)
.push(Space::with_width(15))
.push(text("Accept invitation for wallet:"))
.push(text(wallet).bold()),
)
.push(
Row::new().push(Space::with_width(Length::Fill)).push(
button::secondary(None, "Accept")
.width(Length::Fixed(200.0))
.on_press(Message::ImportRemoteWallet(
message::ImportRemoteWallet::AcceptInvitation,
)),
),
Row::new()
.push(Space::with_width(Length::Fill))
.push(
button::secondary(None, "Accept")
.width(Length::Fixed(200.0))
.on_press(Message::ImportRemoteWallet(
message::ImportRemoteWallet::AcceptInvitation,
)),
)
.push(Space::with_width(Length::Fill)),
)
.push(Space::with_width(5))
.spacing(20),
)
} else {