From 2168e305d195bae6bfceca7814c5edd92363e52f Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Fri, 17 Nov 2023 23:46:51 +0100 Subject: [PATCH] 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 --- engine/src/flutter/lib/ui/semantics.dart | 4 ++-- .../platform/android/io/flutter/view/AccessibilityBridge.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/src/flutter/lib/ui/semantics.dart b/engine/src/flutter/lib/ui/semantics.dart index bb8d58f1008..76c1daa1d5b 100644 --- a/engine/src/flutter/lib/ui/semantics.dart +++ b/engine/src/flutter/lib/ui/semantics.dart @@ -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. diff --git a/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java b/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java index 8f2584cb745..c2dc77e0034 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java @@ -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;