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:
parent
9456f5dc31
commit
b91d2f4fb1
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user