mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix issue where links do not render in stories if previews are off.
This commit is contained in:
committed by
Cody Henthorne
parent
760ace93d4
commit
8fd378db4e
@@ -251,7 +251,7 @@ class TextStoryPostCreationFragment : Fragment(R.layout.stories_text_post_creati
|
||||
return if (linkPreviewState.linkPreview.isPresent) {
|
||||
linkPreviewState.linkPreview.get()
|
||||
} else if (!linkPreviewState.activeUrlForError.isNullOrEmpty()) {
|
||||
LinkPreview(linkPreviewState.activeUrlForError!!, "", "", 0L, Optional.empty())
|
||||
LinkPreview(linkPreviewState.activeUrlForError!!, linkPreviewState.activeUrlForError!!, "", 0L, Optional.empty())
|
||||
} else {
|
||||
null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user