always use CustomTableViewModelRenderer

This commit is contained in:
Kyle Spearrin 2018-01-03 13:37:04 -05:00
parent 9456f5dc31
commit b91d2f4fb1

View file

@ -63,15 +63,8 @@ namespace Bit.iOS.Controls
private void SetSource() private void SetSource()
{ {
var view = (ExtendedTableView)Element; var view = (ExtendedTableView)Element;
if(true || view.NoFooter || view.NoHeader)
{
Control.Source = new CustomTableViewModelRenderer(view); Control.Source = new CustomTableViewModelRenderer(view);
} }
else
{
Control.Source = Element.HasUnevenRows ? new UnEvenTableViewModelRenderer(Element) : new TableViewModelRenderer(Element);
}
}
private void SetScrolling(ExtendedTableView view) private void SetScrolling(ExtendedTableView view)
{ {