Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble-iphoneos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2014-03-12 02:33:08 +0400
committerMikkel Krautz <mikkel@krautz.dk>2014-03-12 02:33:08 +0400
commita9b542647ce5cd7dbc2029992fe62a9f0c82ce05 (patch)
tree72161dac1f4ee016b49a3bd9207c47ad5131d627
parente3daf2740474cb17fcea8962b8d3592f7711e0c6 (diff)
MUCountryServerListController: fix look and feel on iOS 7.
-rw-r--r--Source/Classes/MUCountryServerListController.m7
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];