Skip to content

Commit

Permalink
fix: convert null description to empty description (#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
aggarwalpulkit596 authored and iamareebjamal committed Apr 14, 2019
1 parent 10fa6ec commit 2df871e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class EventDetailsFragment : Fragment() {
}

// Event Description Section
val description = event.description.stripHtml()
val description = event.description.nullToEmpty().stripHtml()
if (!description.isNullOrEmpty()) {
setTextField(rootView.eventDescription, description)

Expand Down

0 comments on commit 2df871e

Please sign in to comment.