|
@ -23,7 +23,7 @@ struct InvoicesView: View { |
|
|
.id(invoice.string) |
|
|
.id(invoice.string) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.frame(height: 200) |
|
|
.frame(height: 240) |
|
|
.tabViewStyle(PageTabViewStyle()) |
|
|
.tabViewStyle(PageTabViewStyle()) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -31,5 +31,6 @@ struct InvoicesView: View { |
|
|
struct InvoicesView_Previews: PreviewProvider { |
|
|
struct InvoicesView_Previews: PreviewProvider { |
|
|
static var previews: some View { |
|
|
static var previews: some View { |
|
|
InvoicesView(invoices: [Invoice.init(description: "description", amount: 10000, string: "invstr", expiry: 100000, payment_hash: Data(), created_at: 1000000)]) |
|
|
InvoicesView(invoices: [Invoice.init(description: "description", amount: 10000, string: "invstr", expiry: 100000, payment_hash: Data(), created_at: 1000000)]) |
|
|
|
|
|
.frame(width: 300) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|