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:
Diffstat (limited to 'Source/Classes/MUMessageRecipientViewController.m')
-rw-r--r--Source/Classes/MUMessageRecipientViewController.m7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Classes/MUMessageRecipientViewController.m b/Source/Classes/MUMessageRecipientViewController.m
index b7f9270..8e74b8c 100644
--- a/Source/Classes/MUMessageRecipientViewController.m
+++ b/Source/Classes/MUMessageRecipientViewController.m
@@ -7,6 +7,7 @@
#import "MUColor.h"
#import "MUOperatingSystem.h"
#import "MUBackgroundView.h"
+#import "MUServerTableViewCell.h"
@interface MUMessageRecipientViewController () {
MKServerModel *_serverModel;
@@ -161,7 +162,11 @@
static NSString *CellIdentifier = @"MUMessageRecipientCell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
- cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
+ if (MUGetOperatingSystemVersion() >= MUMBLE_OS_IOS_7) {
+ cell = [[[MUServerTableViewCell alloc] initWithReuseIdentifier:CellIdentifier] autorelease];
+ } else {
+ cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
+ }
}
cell.textLabel.font = [UIFont systemFontOfSize:18.0f];