project_files/HedgewarsMobile/Classes/SupportViewController.m
changeset 11549 893722a2a1f9
parent 11310 9671c2bfce41
child 12872 00215a7ec5f5
--- a/project_files/HedgewarsMobile/Classes/SupportViewController.m	Sun Feb 14 21:34:01 2016 +0100
+++ b/project_files/HedgewarsMobile/Classes/SupportViewController.m	Mon Feb 15 23:37:48 2016 +0100
@@ -74,10 +74,10 @@
 
     if (section == 0) {
         imgName = @"star";
-        cell.textLabel.textAlignment = UITextAlignmentCenter;
+        cell.textLabel.textAlignment = NSTextAlignmentCenter;
         cell.imageView.image = nil;
     } else {
-        cell.textLabel.textAlignment = UITextAlignmentLeft;
+        cell.textLabel.textAlignment = NSTextAlignmentLeft;
         switch (row) {
             case 0:
                 imgName = @"fb";
@@ -160,7 +160,7 @@
 
         UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 20)];
         label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
-        label.textAlignment = UITextAlignmentCenter;
+        label.textAlignment = NSTextAlignmentCenter;
         label.text = NSLocalizedString(@" ♥ THANK YOU ♥ ", nil);
         label.backgroundColor = [UIColor clearColor];
         label.center = CGPointMake(self.tableView.frame.size.width/2, 250);