Skip to content
This repository has been archived by the owner on Jan 19, 2018. It is now read-only.

Commit

Permalink
Improve footer on add/edit server VC
Browse files Browse the repository at this point in the history
  • Loading branch information
cdzombak committed Oct 27, 2013
1 parent 5b7f5a5 commit 4126a93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions buyvmmanager/BVMAddEditServerViewController.m
Expand Up @@ -329,11 +329,10 @@ - (UITableViewCell *)apiHashCell
- (UIView *)footerView
{
if (!_footerView) {
NSString *notes = NSLocalizedString(@"Server name may be anything you like.\nAPI Key and API Hash must be entered exactly as they appear in the VPS Control Panel at https://manage.buyvm.net/ clientapi.php.\nCopying these from elsewhere - an email, for example - is easiest.\nYou may scan QR codes for these fields by tapping the camera icon.", nil);
NSString *notes = NSLocalizedString(@"Server name may be anything you like.\nAPI Key and API Hash must be entered exactly as they appear in the VPS Control Panel at https://manage.buyvm.net.\nCopying these from elsewherean email, for exampleis easiest.\nScan QR codes for these fields by tapping the camera icon.", nil);
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(18, 0, self.view.bounds.size.width-36, 170)];
label.textAlignment = NSTextAlignmentCenter;
label.textColor = [UIColor darkGrayColor];
label.shadowOffset = CGSizeMake(0, 1.0);
label.text = notes;
label.lineBreakMode = UILineBreakModeWordWrap;
label.numberOfLines = 0;
Expand Down

0 comments on commit 4126a93

Please sign in to comment.