mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Add setting to disable URL previews.
Using a temporary position in the settings screen whilst waiting for feedback.
This commit is contained in:
@@ -389,7 +389,7 @@ const CGFloat kTypingCellHeight = 24;
|
||||
URLPreviewView *urlPreviewView;
|
||||
|
||||
// Show a URL preview if the component has a link that should be previewed.
|
||||
if (link && cellData.showURLPreview)
|
||||
if (link && RiotSettings.shared.roomScreenShowsURLPreviews && cellData.showURLPreview)
|
||||
{
|
||||
urlPreviewView = [URLPreviewView instantiate];
|
||||
urlPreviewView.preview = cellData.urlPreviewData;
|
||||
|
||||
Reference in New Issue
Block a user