Skip to content

Commit

Permalink
Fix confusing navigation stack for nested global entries
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Aug 25, 2024
1 parent 3773272 commit 94b6883
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ - (void)viewDidLoad {
self.title = self.customTitle ?: @"💪 FLEX";
self.showsSearchBar = YES;
self.searchBarDebounceInterval = kFLEXDebounceInstant;
self.navigationItem.backBarButtonItem = [UIBarButtonItem flex_backItemWithTitle:@"Back"];
self.navigationItem.backBarButtonItem = [UIBarButtonItem flex_backItemWithTitle:self.showsDefaultEntries ? @"Back" : self.title];

_manuallyDeselectOnAppear = NSProcessInfo.processInfo.operatingSystemVersion.majorVersion < 10;
}
Expand Down

0 comments on commit 94b6883

Please sign in to comment.