Skip to content

Commit

Permalink
Fixing #140
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzoPrimi committed Sep 27, 2017
1 parent 9ef4b2d commit 7ac5527
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ooniprobe/View/AboutViewController.mm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#import "AboutViewController.h"
#import <measurement_kit/common.hpp>
#import "VersionUtility.h"

@interface AboutViewController ()
@property (readwrite) IBOutlet UIBarButtonItem* revealButtonItem;
Expand Down Expand Up @@ -28,7 +29,7 @@ - (void)viewDidLoad {
[self.learnMoreButton setTitle:[NSString stringWithFormat:@" %@ ", NSLocalizedString(@"learn_more", nil)] forState:UIControlStateNormal];
[self.textLabel setText:[NSString stringWithFormat:@"%@\n%@",NSLocalizedString(@"about_text_1", nil), NSLocalizedString(@"about_text_2", nil)]];
[self.ppButton setTitle:[NSString stringWithFormat:@"%@", NSLocalizedString(@"view_data_policy", nil)] forState:UIControlStateNormal];
[self.versionLabel setText:[NSString stringWithFormat:@"ooniprobe: %@\nmeasurement-kit: %s", [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"], mk_version()]];
[self.versionLabel setText:[NSString stringWithFormat:@"ooniprobe: %@\nmeasurement-kit: %s", [VersionUtility get_software_version], mk_version()]];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadDot) name:@"reloadTable" object:nil];
[self reloadDot];
}
Expand Down

0 comments on commit 7ac5527

Please sign in to comment.