[ios] Remove OSM login titles capitalization

- Remove capitalizedString for “OSM account” title;
- Remove capitalizedString for “OpenStreetMap Profile” title.

Fixes: #8136
Signed-off-by: Dzmitry Padabed <itfarrier@icloud.com>
This commit is contained in:
Dzmitry Padabed 2024-05-11 22:26:02 +03:00 committed by Alexander Borsuk
parent d8a071a023
commit b561ee4e54
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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];
}