Skip to content

Commit

Permalink
Merge pull request #3667 from osmandapp/trave_guide_to_myplaces_navba…
Browse files Browse the repository at this point in the history
…r_fix

Trave guide to myplaces navbar fix
  • Loading branch information
vshcherb authored May 3, 2024
2 parents 5f673dd + d57c40a commit dcc4246
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/Controllers/MyPlaces/OAMyPlacesTabBarViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ - (UIStatusBarStyle)preferredStatusBarStyle
return UIStatusBarStyleLightContent;
}

- (BOOL)isNavbarVisible
{
return YES;
}

-(void)applyLocalization
{
[[self.viewControllers objectAtIndex:0] setTitle:OALocalizedString(@"favorites_item")];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ final class SavedArticlesTabViewController: OACompoundViewController, GpxReadDel
startAsyncInit()
}

override func isNavbarVisible() -> Bool {
true
}

func startAsyncInit() {
self.view.addSpinner(inCenterOfCurrentView: true)
DispatchQueue.global(qos: .default).async {
Expand Down

0 comments on commit dcc4246

Please sign in to comment.