Skip to content

Commit

Permalink
Show image description in editor flow as well
Browse files Browse the repository at this point in the history
  • Loading branch information
tonisevener committed May 2, 2024
1 parent c36d466 commit 6a532d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wikipedia/Code/InsertMediaSettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ final class InsertMediaSettingsViewController: ViewController {
private lazy var imageView: InsertMediaSettingsImageView = {
let imageView = InsertMediaSettingsImageView.wmf_viewFromClassNib()!
imageView.image = image
imageView.imageDescription = searchResult.imageDescription
imageView.imageDescription = searchResult.imageDescription ?? searchResult.imageInfo?.imageDescription
imageView.title = searchResult.displayTitle
imageView.titleURL = imageTitle
imageView.titleAction = { [weak self] url in
Expand Down

0 comments on commit 6a532d3

Please sign in to comment.