mirror of
https://github.com/bitwarden/android.git
synced 2024-12-18 23:31:52 +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;
|
||||
if(view != null)
|
||||
{
|
||||
CorrectMargins(view);
|
||||
SetScrolling(view);
|
||||
SetSelection(view);
|
||||
UpdateRowHeight(view);
|
||||
|
@ -33,8 +32,6 @@ namespace Bit.iOS.Controls
|
|||
|
||||
var view = (ExtendedTableView)Element;
|
||||
|
||||
CorrectMargins(view);
|
||||
|
||||
if(e.PropertyName == ExtendedTableView.EnableScrollingProperty.PropertyName)
|
||||
{
|
||||
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)
|
||||
{
|
||||
Control.ScrollEnabled = view.EnableScrolling;
|
||||
|
|
Loading…
Reference in a new issue