Skip to content

Commit

Permalink
Set bottomRight by default in LessonCardLessonTypePosition
Browse files Browse the repository at this point in the history
  • Loading branch information
StarProxima committed Apr 19, 2023
1 parent f5a306d commit 1d9372d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AppSettings with _$AppSettings {
@Default(AppLessonColorsMode.cube)
AppLessonColorsMode lessonColorsMode,
@HiveField(2)
@Default(LessonCardLessonTypePosition.afterBottomLeftBlock)
@Default(LessonCardLessonTypePosition.bottomRight)
LessonCardLessonTypePosition lessonCardLessonTypePosition,
@HiveField(3)
@Default(LessonCardRecessDisplayCondition.always)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,30 @@ class _SettingsPageLessonCardLessonTypePosition extends ConsumerWidget {
settingsNotifier.editLessonCardLessonTypePosition(value),
items: const [
AppRadioSelectorItem(
title: Text('После нижнего левого блока'),
title: Text('Снизу справа'),
description: Text('Расположение по умолчанию'),
value: LessonCardLessonTypePosition.afterBottomLeftBlock,
),
AppRadioSelectorItem(
title: Text('После верхнего левого блока'),
value: LessonCardLessonTypePosition.afterTopLeftBlock,
value: LessonCardLessonTypePosition.bottomRight,
),
AppRadioSelectorItem(
title: Text('Снизу слева'),
value: LessonCardLessonTypePosition.bottomLeft,
),
AppRadioSelectorItem(
title: Text('Сверху справа'),
value: LessonCardLessonTypePosition.topRight,
),
AppRadioSelectorItem(
title: Text('Снизу справа'),
value: LessonCardLessonTypePosition.bottomRight,
title: Text('После нижнего левого блока'),
value: LessonCardLessonTypePosition.afterBottomLeftBlock,
),
AppRadioSelectorItem(
title: Text('Перед нижним правым блоком'),
value: LessonCardLessonTypePosition.beforeBottomRightBlock,
),
AppRadioSelectorItem(
title: Text('Сверху справа'),
value: LessonCardLessonTypePosition.topRight,
),
AppRadioSelectorItem(
title: Text('После верхнего левого блока'),
value: LessonCardLessonTypePosition.afterTopLeftBlock,
),
AppRadioSelectorItem(
title: Text('На идикаторе'),
description: Text('Вертикальное расположение слева'),
Expand Down

0 comments on commit 1d9372d

Please sign in to comment.