Skip to content

Commit db3eba7

Browse files
author
ignacio
committed
Removes default background color of table view and collection view. Fixes slackhq#205
1 parent 64d5be3 commit db3eba7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Source/Classes/SLKTextViewController.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ - (UITableView *)tableViewWithStyle:(UITableViewStyle)style
255255
{
256256
_tableView = [[UITableView alloc] initWithFrame:CGRectZero style:style];
257257
_tableView.translatesAutoresizingMaskIntoConstraints = NO;
258-
_tableView.backgroundColor = [UIColor whiteColor];
259258
_tableView.scrollsToTop = YES;
260259
_tableView.dataSource = self;
261260
_tableView.delegate = self;
@@ -269,7 +268,6 @@ - (UICollectionView *)collectionViewWithLayout:(UICollectionViewLayout *)layout
269268
{
270269
_collectionView = [[UICollectionView alloc] initWithFrame:CGRectZero collectionViewLayout:layout];
271270
_collectionView.translatesAutoresizingMaskIntoConstraints = NO;
272-
_collectionView.backgroundColor = [UIColor whiteColor];
273271
_collectionView.scrollsToTop = YES;
274272
_collectionView.dataSource = self;
275273
_collectionView.delegate = self;

0 commit comments

Comments
 (0)