diff --git a/test/ios/RootBrowser/FileShortcut.mm b/test/ios/RootBrowser/FileShortcut.mm index ed415476fb2f824645126f750770d01149c74c08..22874e2de2214762a29fb524ddac959b2211d237 100644 --- a/test/ios/RootBrowser/FileShortcut.mm +++ b/test/ios/RootBrowser/FileShortcut.mm @@ -11,7 +11,6 @@ __weak UIViewController *controller; UIImage *filePictogram; - UIImage *backgroundImage; ROOT::iOS::Browser::FileContainer *fileContainer; } @@ -47,7 +46,6 @@ self.fileName = [NSString stringWithFormat : @"%s", fileContainer->GetFileName()]; filePictogram = [UIImage imageNamed : @"file_icon.png"]; - backgroundImage = [UIImage imageNamed : @"file_shortcut_background.png"]; UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget : self action : @selector(handleTap)]; [self addGestureRecognizer : tap]; UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget: self action:@selector(handleLongPress:)]; @@ -65,8 +63,6 @@ // Drawing code CGContextRef ctx = UIGraphicsGetCurrentContext(); - [backgroundImage drawAtPoint:CGPointZero]; - //Draw the pictogram for ROOT's file. const CGPoint topLeftPicCorner = CGPointMake(rect.size.width / 2 - filePictogram.size.width / 2, (rect.size.height - [FileShortcut textHeight]) / 2 - filePictogram.size.height / 2); diff --git a/test/ios/RootBrowser/file_icon.png b/test/ios/RootBrowser/file_icon.png index 7f432c8e2326008d21d404453fe62085acdec424..a70295c283fd942a8ef860b8a7b2e68f9d7764e3 100644 Binary files a/test/ios/RootBrowser/file_icon.png and b/test/ios/RootBrowser/file_icon.png differ