Skip to content

Commit 20fb94e

Browse files
author
Vladimir Enchev
committed
Merge pull request NativeScript#226 from NativeScript/ListView-ios-separator-width
separator is no longer forced to the edge
2 parents b1ad755 + 9238f29 commit 20fb94e

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

ui/list-view/list-view.ios.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,6 @@ class UITableViewDelegateImpl extends NSObject implements UITableViewDelegate {
8989
if (indexPath.row === this._owner.items.length - 1) {
9090
this._owner.notify(<observable.EventData>{ eventName: LOADMOREITEMS, object: this._owner });
9191
}
92-
93-
if (cell.separatorInset) {
94-
cell.separatorInset = UIEdgeInsetsZero;
95-
}
96-
97-
if (cell.preservesSuperviewLayoutMargins) {
98-
cell.preservesSuperviewLayoutMargins = false;
99-
}
100-
101-
if (cell.layoutMargins) {
102-
cell.layoutMargins = UIEdgeInsetsZero;
103-
}
10492
}
10593

10694
public tableViewWillSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath {

0 commit comments

Comments
 (0)