| 57 | } |
| 58 | |
| 59 | void ViewManagerContext::setPreloadingPaused(bool preloadingPaused) { |
| 60 | if (_viewPreloader != nullptr) { |
| 61 | if (preloadingPaused) { |
| 62 | _viewPreloader->pausePreload(); |
| 63 | } else { |
| 64 | _viewPreloader->resumePreload(); |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | void ViewManagerContext::setAccessibilityEnabled(const bool accessibilityEnabled) { |
| 70 | _accessibilityEnabled = accessibilityEnabled; |