Commit 6abe6670 authored by Kurt Horimoto's avatar Kurt Horimoto Committed by Commit Bot

[iOS] Remove cell separators from empty portion of reading list table.

Bug: 862307
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I19f4051c152b0933d3142f734e9a253bea2b577d
Reviewed-on: https://chromium-review.googlesource.com/1137257Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575407}
parent 77da6975
...@@ -184,6 +184,11 @@ ReadingListSelectionState GetSelectionStateForSelectedCounts( ...@@ -184,6 +184,11 @@ ReadingListSelectionState GetSelectionStateForSelectedCounts(
self.tableView.estimatedSectionHeaderHeight = 56; self.tableView.estimatedSectionHeaderHeight = 56;
self.tableView.allowsMultipleSelectionDuringEditing = YES; self.tableView.allowsMultipleSelectionDuringEditing = YES;
self.tableView.allowsMultipleSelection = YES; self.tableView.allowsMultipleSelection = YES;
// Add a tableFooterView in order to disable separators at the bottom of the
// tableView.
// TODO(crbug.com/863606): Remove this workaround when iOS10 is no longer
// supported, as it is not necessary in iOS 11.
self.tableView.tableFooterView = [[UIView alloc] init];
// Add gesture recognizer for the context menu. // Add gesture recognizer for the context menu.
UILongPressGestureRecognizer* longPressRecognizer = UILongPressGestureRecognizer* longPressRecognizer =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment