Skip to content

Commit

Permalink
Merge branch 'release/6.0.4xx-sr3' into net6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed Jul 12, 2022
2 parents 4014bf2 + 97ad1e2 commit 485d60b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/Editor/EditorHandler.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected override void DisconnectHandler(AppCompatEditText platformView)
platformView.TextChanged -= OnTextChanged;

// TODO: NET7 issoto - Remove the casting once we can set the TPlatformView generic type as MauiAppCompatEditText
if (_set && PlatformView is MauiAppCompatEditText editText)
if (_set && platformView is MauiAppCompatEditText editText)
editText.SelectionChanged -= OnSelectionChanged;

_set = false;
Expand Down
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/Entry/EntryHandler.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected override void DisconnectHandler(AppCompatEditText platformView)
platformView.EditorAction -= OnEditorAction;

// TODO: NET7 issoto - Remove the casting once we can set the TPlatformView generic type as MauiAppCompatEditText
if (_set && PlatformView is MauiAppCompatEditText editText)
if (_set && platformView is MauiAppCompatEditText editText)
editText.SelectionChanged -= OnSelectionChanged;

_set = false;
Expand Down

0 comments on commit 485d60b

Please sign in to comment.