mirror of
https://github.com/bitwarden/android.git
synced 2024-12-30 12:58:29 +03:00
remove ios tableview margin correction
This commit is contained in:
parent
aff118c501
commit
38b7509fbb
1 changed files with 0 additions and 8 deletions
|
@ -18,7 +18,6 @@ namespace Bit.iOS.Controls
|
||||||
var view = e.NewElement as ExtendedTableView;
|
var view = e.NewElement as ExtendedTableView;
|
||||||
if(view != null)
|
if(view != null)
|
||||||
{
|
{
|
||||||
CorrectMargins(view);
|
|
||||||
SetScrolling(view);
|
SetScrolling(view);
|
||||||
SetSelection(view);
|
SetSelection(view);
|
||||||
UpdateRowHeight(view);
|
UpdateRowHeight(view);
|
||||||
|
@ -33,8 +32,6 @@ namespace Bit.iOS.Controls
|
||||||
|
|
||||||
var view = (ExtendedTableView)Element;
|
var view = (ExtendedTableView)Element;
|
||||||
|
|
||||||
CorrectMargins(view);
|
|
||||||
|
|
||||||
if(e.PropertyName == ExtendedTableView.EnableScrollingProperty.PropertyName)
|
if(e.PropertyName == ExtendedTableView.EnableScrollingProperty.PropertyName)
|
||||||
{
|
{
|
||||||
SetScrolling(view);
|
SetScrolling(view);
|
||||||
|
@ -49,11 +46,6 @@ namespace Bit.iOS.Controls
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CorrectMargins(ExtendedTableView view)
|
|
||||||
{
|
|
||||||
Control.ContentInset = new UIEdgeInsets(-10, 0, -100, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void SetScrolling(ExtendedTableView view)
|
private void SetScrolling(ExtendedTableView view)
|
||||||
{
|
{
|
||||||
Control.ScrollEnabled = view.EnableScrolling;
|
Control.ScrollEnabled = view.EnableScrolling;
|
||||||
|
|
Loading…
Reference in a new issue