Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a5706c9

Browse files
committed
[22241] Fix error when getting the android field's scrollingEnabled
1 parent 13eaa38 commit a5706c9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/widgets/androidfield/androidfield.lcb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,9 +1770,8 @@ end handler
17701770

17711771
public handler GetScrollingEnabled() returns Boolean
17721772
if mNativeObj is not nothing then
1773-
put TextView_getMovementMethod(mNativeObj) into mScrollingEnabled
1773+
put (TextView_getMovementMethod(mNativeObj) is not nothing) into mScrollingEnabled
17741774
end if
1775-
17761775
return mScrollingEnabled
17771776
end handler
17781777

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# [22241] Ensure getting the scrollingEnabled of the native android field does not throw an error

0 commit comments

Comments
 (0)