tests: add ndb support to tests
stops it from crashing
This commit is contained in:
@@ -108,7 +108,7 @@ let test_invoice = Invoice(description: .description("this is a description"), a
|
||||
|
||||
struct InvoiceView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
InvoiceView(our_pubkey: .empty, invoice: test_invoice, settings: test_damus_state().settings)
|
||||
InvoiceView(our_pubkey: .empty, invoice: test_invoice, settings: test_damus_state.settings)
|
||||
.frame(width: 300, height: 200)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user