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

Commit 75fdba0

Browse files
committed
Remove nil check
1 parent 82af5ea commit 75fdba0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,8 @@ - (void)setEditingState:(NSDictionary*)state {
372372
if (composing_range.collapsed() && wasComposing) {
373373
[_textInputContext discardMarkedText];
374374
}
375-
if (_client != nil) {
376-
[_client startEditing];
377-
}
375+
[_client startEditing];
376+
378377
[self updateTextAndSelection];
379378
}
380379

0 commit comments

Comments
 (0)