Skip to content

Commit 2f1f9c8

Browse files
committed
Tweak shift piece method label
1 parent 64160cb commit 2f1f9c8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/src/view/settings/board_behavior_settings_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class _Body extends ConsumerWidget {
5959
settingsLabel: Text(context.l10n.preferencesHowDoYouMovePieces),
6060
settingsValue:
6161
pieceShiftMethodl10n(context, boardPrefs.pieceShiftMethod),
62+
showCupertinoTrailingValue: false,
6263
onTap: () {
6364
if (Theme.of(context).platform == TargetPlatform.android) {
6465
showChoicePicker(

lib/src/view/settings/piece_shift_method_settings_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ String pieceShiftMethodl10n(
4141
// This is called 'Either' in the Web UI, but in the app we might display this string
4242
// without having the other values as context, so we need to be more explicit.
4343
// TODO add this to mobile translations
44-
PieceShiftMethod.either => 'Click or drag pieces',
44+
PieceShiftMethod.either => 'Either click or drag',
4545
PieceShiftMethod.drag => context.l10n.preferencesDragPiece,
4646
// TODO This string uses 'click', we might want to use 'tap' instead in a mobile-specific translation
4747
PieceShiftMethod.tapTwoSquares => context.l10n.preferencesClickTwoSquares,

0 commit comments

Comments
 (0)