diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2014-03-12 02:33:08 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2014-03-12 02:33:08 +0400 |
commit | a9b542647ce5cd7dbc2029992fe62a9f0c82ce05 (patch) | |
tree | 72161dac1f4ee016b49a3bd9207c47ad5131d627 | |
parent | e3daf2740474cb17fcea8962b8d3592f7711e0c6 (diff) |
MUCountryServerListController: fix look and feel on iOS 7.
-rw-r--r-- | Source/Classes/MUCountryServerListController.m | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Classes/MUCountryServerListController.m b/Source/Classes/MUCountryServerListController.m index a14d4b5..631a253 100644 --- a/Source/Classes/MUCountryServerListController.m +++ b/Source/Classes/MUCountryServerListController.m @@ -73,7 +73,12 @@ navBar.backgroundColor = [UIColor blackColor]; } navBar.barStyle = UIBarStyleBlackOpaque; - + + if (MUGetOperatingSystemVersion() >= MUMBLE_OS_IOS_7) { + _tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine; + _tableView.separatorInset = UIEdgeInsetsZero; + } + UIBarButtonItem *searchButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSearch target:self action:@selector(searchButtonClicked:)]; self.navigationItem.rightBarButtonItem = searchButton; [searchButton release]; |