Browse Source
Merge pull request #9164 from emmauss/android_ime_dismiss_fix
Fix Android crash when ime is dismissed on a read only input
pull/9176/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Android/Avalonia.Android/Platform/SkiaPlatform/TopLevelImpl.cs
|
|
|
@ -301,7 +301,7 @@ namespace Avalonia.Android.Platform.SkiaPlatform |
|
|
|
|
|
|
|
IsComposing = true; |
|
|
|
|
|
|
|
_inputMethod.Client.SetPreeditText(ComposingText); |
|
|
|
_inputMethod.Client?.SetPreeditText(ComposingText); |
|
|
|
|
|
|
|
return base.SetComposingText(text, newCursorPosition); |
|
|
|
} |
|
|
|
|