diff --git a/MVMCoreUI/Atoms/Views/StandardListItemWithImage.swift b/MVMCoreUI/Atoms/Views/StandardListItemWithImage.swift index 7300daa2..1c65b0bd 100644 --- a/MVMCoreUI/Atoms/Views/StandardListItemWithImage.swift +++ b/MVMCoreUI/Atoms/Views/StandardListItemWithImage.swift @@ -127,14 +127,7 @@ import UIKit leftContainer.updateView(size) messageTopConstraint?.constant = title.hasText ? PaddingOne : 0 - - if message.hasText { - buttonTopConstraint?.constant = PaddingTwo - } else if title.hasText { - buttonTopConstraint?.constant = PaddingOne - } else { - buttonTopConstraint?.constant = 0 - } + buttonTopConstraint?.constant = message.hasText ? PaddingTwo : (title.hasText ? PaddingOne : 0) } override open func reset() {