Add option to always show images (never blur)

Changelog-Added: Add option to always show images (never blur)
This commit is contained in:
William Casarin
2023-03-15 16:40:17 -06:00
parent 4f96c88b9b
commit 57d48a0395
6 changed files with 17 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ struct EventBody: View {
self.damus_state = damus_state
self.event = event
self.size = size
self.should_show_img = should_show_img ?? should_show_images(contacts: damus_state.contacts, ev: event, our_pubkey: damus_state.pubkey)
self.should_show_img = should_show_img ?? should_show_images(settings: damus_state.settings, contacts: damus_state.contacts, ev: event, our_pubkey: damus_state.pubkey)
}
var content: String {