Commit ca8581f2 authored by Gabriel Luong's avatar Gabriel Luong
Browse files

Issue #7978: Part 7 - Add a fallback value to avoid double bang for createdAt in PinnedSiteEntity

parent b078c8f5
......@@ -50,6 +50,6 @@ internal fun TopSite.toPinnedSite(): PinnedSiteEntity {
title = title ?: "",
url = url,
isDefault = type === DEFAULT,
createdAt = createdAt!!
createdAt = createdAt ?: 0
)
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment