Minor refactor
This commit is contained in:
1 parent
9a40fd595d
commit
18c7cba53c
1 file changed
+2
-2
@@ -91,8 +91,8 @@ struct NoteContentView: View {
|
||||
InvoicesView(invoices: artifacts.invoices)
|
||||
}
|
||||
|
||||
if show_images, self.preview != nil {
|
||||
self.preview
|
||||
if let preview = self.preview, show_images {
|
||||
preview
|
||||
} else {
|
||||
ForEach(artifacts.links, id:\.self) { link in
|
||||
if let url = link {
|
||||
|
||||
Reference in new issue
Block a user