mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 18:38:27 +03:00
always use CustomTableViewModelRenderer
This commit is contained in:
parent
9456f5dc31
commit
b91d2f4fb1
1 changed files with 1 additions and 8 deletions
|
@ -63,14 +63,7 @@ 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)
|
||||||
|
|
Loading…
Reference in a new issue