1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-07 09:20:04 +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,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)
{ {