From b561ee4e549ea1bb148bfda59322d8ec111bdddd Mon Sep 17 00:00:00 2001 From: Dzmitry Padabed Date: Sat, 11 May 2024 22:26:02 +0300 Subject: [PATCH] [ios] Remove OSM login titles capitalization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove capitalizedString for “OSM account” title; - Remove capitalizedString for “OpenStreetMap Profile” title. Fixes: #8136 Signed-off-by: Dzmitry Padabed --- .../CustomViews/Login/MWMAuthorizationLoginViewController.mm | 4 ++-- .../Login/MWMAuthorizationOSMLoginViewController.mm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationLoginViewController.mm b/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationLoginViewController.mm index eb071bda07..e6954e587d 100644 --- a/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationLoginViewController.mm +++ b/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationLoginViewController.mm @@ -57,7 +57,7 @@ using namespace osm_auth_ios; - (void)configHaveAuth { NSString * osmUserName = OSMUserName(); - self.title = osmUserName.length > 0 ? osmUserName : L(@"osm_account").capitalizedString; + self.title = osmUserName.length > 0 ? osmUserName : L(@"osm_account"); self.authView.hidden = YES; self.accountView.hidden = NO; @@ -67,7 +67,7 @@ using namespace osm_auth_ios; - (void)configNoAuth { - self.title = L(@"profile").capitalizedString; + self.title = L(@"profile"); self.authView.hidden = NO; self.accountView.hidden = YES; } diff --git a/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationOSMLoginViewController.mm b/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationOSMLoginViewController.mm index d509da3481..e8cfabc2a4 100644 --- a/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationOSMLoginViewController.mm +++ b/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationOSMLoginViewController.mm @@ -29,7 +29,7 @@ using namespace osm; - (void)viewDidLoad { [super viewDidLoad]; - self.title = L(@"osm_account").capitalizedString; + self.title = L(@"osm_account"); [self checkConnection]; [self stopSpinner]; }