From e5f95db6ea663afb94180fe950da0c9464475b73 Mon Sep 17 00:00:00 2001 From: Robin Bonin Date: Fri, 16 Oct 2020 09:49:18 +0200 Subject: [PATCH] Update ButtonLayout sizeOf(image:) for iOS13+ iOS13+ has different CGSize for some button types: .contactAdd, .infoLight, .infoDark, .detailDisclosure Tests were failing when testing with simulators iOS13+ --- Sources/Layouts/ButtonLayout.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Sources/Layouts/ButtonLayout.swift b/Sources/Layouts/ButtonLayout.swift index 35e6dbf1..2803e68d 100644 --- a/Sources/Layouts/ButtonLayout.swift +++ b/Sources/Layouts/ButtonLayout.swift @@ -169,7 +169,11 @@ open class ButtonLayout: BaseLayout