mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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:
parent
64e53d3adf
commit
2168e305d1
@ -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.
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user