Minor refactor
This commit is contained in:
@@ -91,8 +91,8 @@ struct NoteContentView: View {
|
|||||||
InvoicesView(invoices: artifacts.invoices)
|
InvoicesView(invoices: artifacts.invoices)
|
||||||
}
|
}
|
||||||
|
|
||||||
if show_images, self.preview != nil {
|
if let preview = self.preview, show_images {
|
||||||
self.preview
|
preview
|
||||||
} else {
|
} else {
|
||||||
ForEach(artifacts.links, id:\.self) { link in
|
ForEach(artifacts.links, id:\.self) { link in
|
||||||
if let url = link {
|
if let url = link {
|
||||||
|
|||||||
Reference in New Issue
Block a user