hunk.code_window:   EXCachedResourceBehavior cacheBehavior = EXCachedResourceWriteToCache;
     if (!shouldUseTimer) {
       // if we're in dev mode (meaning we should not ever fall back to cache), don't write to the cache either
       cacheBehavior = EXCachedResourceNoCache;
     }
     if ([EXShellManager sharedInstance].loadJSInBackgroundExperimental) {
       cacheBehavior = EXCachedResourceUseCacheImmediately;
     }
     [self _fetchManifestWithHttpUrl:_httpManifestUrl cacheBehavior:cacheBehavior success:^(NSDictionary * _Nonnull manifest) {
       _optimisticManifest = manifest;
       // if we're never using a cache, go ahead and confirm the manifest now
       if (cacheBehavior == EXCachedResourceNoCache && !_confirmedManifest) {
  
hunk.labels: keep keep keep keep keep replace replace replace keep keep keep keep
hunk.file_path: ios/Exponent/Kernel/AppLoader/EXKernelAppLoader.m
hunk.type: replace
file: /**
   * Copyright (c) 2015-present, Horcrux.
   * All rights reserved.
   *
   * This source code is licensed under the MIT-style license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  #import "ABI20_0_0RNSVGSolidColorBrush.h"
  
  #import "ABI20_0_0RCTConvert+RNSVG.h"
  #import <ReactABI20_0_0/ABI20_0_0RCTLog.h>
  
  @implementation ABI20_0_0RNSVGSolidColorBrush
  {
      CGColorRef _color;
  }
  
  - (instancetype)initWithArray:(NSArray<NSNumber *> *)array
  {
      if ((self = [super initWithArray:array])) {
          _color = CGColorRetain([ABI20_0_0RCTConvert ABI20_0_0RNSVGCGColor:array offset:1]);
      }
      return self;
  }
  
  - (void)dealloc
  {
      CGColorRelease(_color);
  }
  
  - (BOOL)applyFillColor:(CGContextRef)context opacity:(CGFloat)opacity
  {
      CGColorRef color = CGColorCreateCopyWithAlpha(_color, opacity * CGColorGetAlpha(_color));
      CGContextSetFillColorWithColor(context, color);
      CGColorRelease(color);
      return YES;
  }
  
  - (BOOL)applyStrokeColor:(CGContextRef)context opacity:(CGFloat)opacity
  {
      CGColorRef color = CGColorCreateCopyWithAlpha(_color, opacity * CGColorGetAlpha(_color));
      CGContextSetStrokeColorWithColor(context, color);
      CGColorRelease(color);
      return YES;
  }
  
  @end
  