[ios] add back button title for the main map screen

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn 2024-03-25 14:59:56 +04:00 committed by Alexander Borsuk
parent 897cbd91c6
commit 992f8c9261

View file

@ -311,6 +311,8 @@ NSString *const kPP2BookmarkEditingSegue = @"PP2BookmarkEditing";
- (void)viewDidLoad {
[super viewDidLoad];
self.title = L(@"map");
// On iOS 10 (it was reproduced, it may be also on others), mapView can be uninitialized
// when onGetFocus is called, it can lead to missing of onGetFocus call and a deadlock on the start.
// As soon as mapView must exist before onGetFocus, so we have to defer onGetFocus call.