From 27e0ef62d85e312c0d15c2079570a7068228461b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Sharma?= <737941+loic-sharma@users.noreply.github.com> Date: Thu, 6 Jul 2023 13:02:18 -0700 Subject: [PATCH] [macOS] Fix assertion typo (flutter/engine#43179) --- .../darwin/macos/framework/Source/FlutterViewController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterViewController.mm b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterViewController.mm index 5129ef4ebe..163ffd549d 100644 --- a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterViewController.mm +++ b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterViewController.mm @@ -517,7 +517,7 @@ static void CommonInit(FlutterViewController* controller, FlutterEngine* engine) } - (FlutterViewId)viewId { - NSAssert([self attached], @"This view controller is not attched."); + NSAssert([self attached], @"This view controller is not attached."); return _viewId; }