Pārlūkot izejas kodu

Revert "Support iOS 11 prefersLargeTitles #1643 (#2090)" (#2204)

This reverts commit 9f2f15bc4f.
Ran Greenberg 7 gadus atpakaļ
vecāks
revīzija
e8333ce1ea
No account linked to committer's email address
1 mainītis faili ar 0 papildinājumiem un 6 dzēšanām
  1. 0
    6
      ios/RCCViewController.m

+ 0
- 6
ios/RCCViewController.m Parādīt failu

@@ -644,12 +644,6 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
644 644
       self.navigationItem.titleView.clipsToBounds = YES;
645 645
     }
646 646
   }
647
-  
648
-  if ([self.navigationController.navigationBar respondsToSelector:@selector(setPrefersLargeTitles:)]) {
649
-    NSNumber *prefersLargeTitles = self.navigatorStyle[@"prefersLargeTitles"];
650
-    BOOL prefersLargeTitlesBool = prefersLargeTitles ? [prefersLargeTitles boolValue] : NO;
651
-    self.navigationController.navigationBar.prefersLargeTitles = prefersLargeTitlesBool;
652
-  }
653 647
 }
654 648
 
655 649