1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-28 17:18:23 +01:00

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