From cd51c10c442c95ddecdd6eb22ee75f262376236c Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Sat, 21 Dec 2024 12:34:35 +0100 Subject: [PATCH] objc syntax error --- flutter/ios/Classes/SentryFlutterReplayScreenshotProvider.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/ios/Classes/SentryFlutterReplayScreenshotProvider.m b/flutter/ios/Classes/SentryFlutterReplayScreenshotProvider.m index 44c566ce9..61d9e87e5 100644 --- a/flutter/ios/Classes/SentryFlutterReplayScreenshotProvider.m +++ b/flutter/ios/Classes/SentryFlutterReplayScreenshotProvider.m @@ -33,7 +33,7 @@ - (void)imageWithView:(UIView *_Nonnull)view } else if ([value isKindOfClass:[NSDictionary class]]) { NSDictionary *dict = (NSDictionary *)value; long address = ((NSNumber *)dict[@"address"]).longValue; - (NSNumber *)length = ((NSNumber *)dict[@"length"]); + NSNumber *length = ((NSNumber *)dict[@"length"]); NSData *data = [NSData dataWithBytesNoCopy:(void *)address length:length.unsignedLongValue