Skip to content

Commit

Permalink
Fix typo (flutter#4424)
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer authored Dec 7, 2017
1 parent fb44dce commit 9d5cd4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ui/semantics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class SemanticsAction {
/// Move the cursor backward by one character.
///
/// This is for example used by the cursor control in text fields.
static const SemanticsAction moveCursorBackardByCharacter = const SemanticsAction._(_kMoveCursorBackwardByCharacter);
static const SemanticsAction moveCursorBackwardByCharacter = const SemanticsAction._(_kMoveCursorBackwardByCharacter);

/// The possible semantics actions.
///
Expand All @@ -104,7 +104,7 @@ class SemanticsAction {
_kDecreaseIndex: decrease,
_kShowOnScreen: showOnScreen,
_kMoveCursorForwardByCharacter: moveCursorForwardByCharacter,
_kMoveCursorBackwardByCharacter: moveCursorBackardByCharacter,
_kMoveCursorBackwardByCharacter: moveCursorBackwardByCharacter,
};

@override
Expand All @@ -131,7 +131,7 @@ class SemanticsAction {
case _kMoveCursorForwardByCharacter:
return 'SemanticsAction.moveCursorForwardByCharacter';
case _kMoveCursorBackwardByCharacter:
return 'SemanticsAction.moveCursorBackardByCharacter';
return 'SemanticsAction.moveCursorBackwardByCharacter';
}
return null;
}
Expand Down

0 comments on commit 9d5cd4b

Please sign in to comment.