Przeglądaj źródła

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

This reverts commit 9f2f15bc4f.
Ran Greenberg 7 lat temu
rodzic
commit
e8333ce1ea
No account linked to committer's email address
1 zmienionych plików z 0 dodań i 6 usunięć
  1. 0
    6
      ios/RCCViewController.m

+ 0
- 6
ios/RCCViewController.m Wyświetl plik

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