Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7c6a314

Browse files
dacianfjmagman
andauthored
Update shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm
Co-authored-by: Jenn Magder <[email protected]>
1 parent d9487e2 commit 7c6a314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130

131131
long viewId = [args[@"id"] longValue];
132132
NSString* viewTypeString = args[@"viewType"];
133-
std::string viewType([args[@"viewType"] UTF8String]);
133+
std::string viewType(viewTypeString.UTF8String);
134134

135135
if (views_.count(viewId) != 0) {
136136
result([FlutterError errorWithCode:@"recreating_view"

0 commit comments

Comments
 (0)