synesthesia-it / Boomerang

Swift micro-framework for MVVM (Model-View-ViewModel) native applications.
MIT License
36 stars 10 forks source link

fix: tableview container insets #41

Closed DavideCeresola closed 1 year ago

DavideCeresola commented 1 year ago

While using the Size.container(useContentInsets: true) in a ViewModel inside a UITableView, the useContentInsets parameter is not taken in consideration. As a result, for the full-screen elements like an empty state, the height of the element is greater than the visible area, causing it to scroll.

This pull request fix the issue but feel free to reject it and to take a look yourself.

Thanks

stefanomondino commented 1 year ago

looks great, thanks! :)