BandarHelal

Untitled

Feb 26th, 2021
637
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %hook YTIIcon
  2. - (id)iconImageWithColor:(UIColor *)arg1 {
  3.     if (self.iconType == 88) {
  4.         UIImage *image = [UIImage systemImageNamed:@"arrow.down"];
  5.         UIImage *newImage = [[UIImage systemImageNamed:@"arrow.down"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
  6.         UIGraphicsBeginImageContextWithOptions(image.size, NO, newImage.scale);
  7.         [arg1 set];
  8.         [newImage drawInRect:CGRectMake(0, 0, image.size.width, newImage.size.height)];
  9.         newImage = UIGraphicsGetImageFromCurrentImageContext();
  10.         UIGraphicsEndImageContext();
  11.         if ([bandarAPI isDarkMode]) {
  12.             return [newImage imageWithTintColor:[UIColor colorFromHexString:@"908F90"]];
  13.         } else {
  14.             return [newImage imageWithTintColor:[UIColor colorFromHexString:@"616261"]];
  15.         }
  16.     } else {
  17.         return %orig;
  18.     }
  19. }
  20. %end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×