diff --git a/MVMCoreUI/Atoms/Buttons/Link.swift b/MVMCoreUI/Atoms/Buttons/Link.swift index 9116cc51..10aae78b 100644 --- a/MVMCoreUI/Atoms/Buttons/Link.swift +++ b/MVMCoreUI/Atoms/Buttons/Link.swift @@ -100,7 +100,9 @@ extension Link: MVMCoreUIMoleculeViewProtocol { titleLabel?.numberOfLines = 0 titleLabel?.lineBreakMode = .byWordWrapping; - setTitle(unwrappedJson.stringForkey(KeyTitle), for: .normal) + if let title = unwrappedJson.optionalStringForKey(KeyTitle) { + setTitle(title, for: .normal) + } if let enabled = unwrappedJson[KeyEnabled] as? Bool { isEnabled = enabled