@@ -206,35 +206,45 @@ impl Launcher {
206
206
. align_y ( Alignment :: Center )
207
207
. spacing ( 20 )
208
208
. push (
209
- Button :: new (
210
- Column :: new ( )
211
- . push ( p1_bold ( format ! (
212
- "My Liana {} wallet" ,
213
- match self . network {
214
- Network :: Bitcoin => "Bitcoin" ,
215
- Network :: Signet => "Signet" ,
216
- Network :: Testnet => "Testnet" ,
217
- Network :: Regtest => "Regtest" ,
218
- _ => "" ,
219
- }
220
- ) ) )
221
- . push_maybe ( checksum. as_ref ( ) . map ( |checksum| {
222
- p1_regular ( format ! ( "Liana-{}" , checksum) )
223
- . color ( color:: GREY_3 )
224
- } ) )
225
- . push_maybe ( email. as_ref ( ) . map ( |email| {
226
- Row :: new ( )
227
- . push ( Space :: with_width ( Length :: Fill ) )
228
- . push (
229
- p1_regular ( email)
230
- . color ( color:: GREEN ) ,
231
- )
232
- } ) ) ,
209
+ Container :: new (
210
+ Button :: new (
211
+ Column :: new ( )
212
+ . push ( p1_bold ( format ! (
213
+ "My Liana {} wallet" ,
214
+ match self . network {
215
+ Network :: Bitcoin => "Bitcoin" ,
216
+ Network :: Signet => "Signet" ,
217
+ Network :: Testnet => "Testnet" ,
218
+ Network :: Regtest => "Regtest" ,
219
+ _ => "" ,
220
+ }
221
+ ) ) )
222
+ . push_maybe ( checksum. as_ref ( ) . map (
223
+ |checksum| {
224
+ p1_regular ( format ! (
225
+ "Liana-{}" ,
226
+ checksum
227
+ ) )
228
+ . color ( color:: GREY_3 )
229
+ } ,
230
+ ) )
231
+ . push_maybe ( email. as_ref ( ) . map ( |email| {
232
+ Row :: new ( )
233
+ . push ( Space :: with_width (
234
+ Length :: Fill ,
235
+ ) )
236
+ . push (
237
+ p1_regular ( email)
238
+ . color ( color:: GREEN ) ,
239
+ )
240
+ } ) ) ,
241
+ )
242
+ . on_press ( ViewMessage :: Run )
243
+ . padding ( 15 )
244
+ . style ( theme:: button:: container_border)
245
+ . width ( Length :: Fill ) ,
233
246
)
234
- . on_press ( ViewMessage :: Run )
235
- . style ( theme:: button:: container_border)
236
- . padding ( 10 )
237
- . width ( Length :: Fill ) ,
247
+ . style ( theme:: card:: simple) ,
238
248
)
239
249
. push (
240
250
Button :: new ( icon:: trash_icon ( ) )
0 commit comments