Fix a few typos (flutter/engine#47960)

I found 3 small typos :)

Supersedes #47929

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Bartek Pacia 2023-11-17 23:46:51 +01:00 committed by GitHub
parent 64e53d3adf
commit 2168e305d1
2 changed files with 4 additions and 4 deletions

View File

@ -738,8 +738,8 @@ abstract class SemanticsUpdateBuilder {
/// string describes what result an action performed on this node has. The
/// reading direction of all these strings is given by `textDirection`.
///
/// The `labelAttirbutes`, `valueAttirbutes`, `hintAttributes`,
/// `increasedValueAttirbutes`, and `decreasedValueAttributes` are the lists of
/// The `labelAttributes`, `valueAttributes`, `hintAttributes`,
/// `increasedValueAttributes`, and `decreasedValueAttributes` are the lists of
/// [StringAttribute] carried by the `label`, `value`, `hint`, `increasedValue`,
/// and `decreasedValue` respectively. Their contents must not be changed during
/// the semantics update.

View File

@ -668,7 +668,7 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
result.setImportantForAccessibility(isImportant(semanticsNode));
}
// Work around for https://github.com/flutter/flutter/issues/2101
// Work around for https://github.com/flutter/flutter/issues/21030
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
result.setViewIdResourceName("");
}
@ -2368,7 +2368,7 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
// The textual description of the backing widget's tooltip.
//
// The tooltip is attached through AccessibilityNodInfo.setTooltipText if
// The tooltip is attached through AccessibilityNodeInfo.setTooltipText if
// API level >= 28; otherwise, this is attached to the end of content description.
@Nullable private String tooltip;