diff --git a/Sources/makata-user-interface/controller-template/controller-template-collection.swift b/Sources/makata-user-interface/controller-template/controller-template-collection.swift index 5cc2851..3f98488 100644 --- a/Sources/makata-user-interface/controller-template/controller-template-collection.swift +++ b/Sources/makata-user-interface/controller-template/controller-template-collection.swift @@ -300,9 +300,9 @@ extension Templates.Collection { addSubview( content - .defineConstraints { make in + .defineConstraints { [unowned self] make in make.edges - .equalToSuperview() + .equalTo(safeAreaLayoutGuide) } )