fixing the method call for testing semantics (#14056)

This commit is contained in:
Nurhan Turgut 2019-11-27 10:39:16 -08:00 committed by GitHub
parent ca9cd2df68
commit 268107d2fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ class SemanticsHelper {
isDesktop ? DesktopSemanticsEnabler() : MobileSemanticsEnabler();
bool shouldEnableSemantics(html.Event event) {
return _enableSemantics.tryEnableSemantics(event);
return _enableSemantics.shouldEnableSemantics(event);
}
html.Element prepareAccesibilityPlaceholder() {