Skip to content

Commit

Permalink
feat: bookmark action in game analysis
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <[email protected]>
  • Loading branch information
ZTL-UwU committed Jul 21, 2024
1 parent 0ccc01f commit 56fccaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/view/analysis/analysis_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import 'package:lichess_mobile/src/utils/navigation.dart';
import 'package:lichess_mobile/src/utils/screen.dart';
import 'package:lichess_mobile/src/utils/string.dart';
import 'package:lichess_mobile/src/view/engine/engine_gauge.dart';
import 'package:lichess_mobile/src/view/game/game_common_widgets.dart';
import 'package:lichess_mobile/src/widgets/adaptive_action_sheet.dart';
import 'package:lichess_mobile/src/widgets/adaptive_bottom_sheet.dart';
import 'package:lichess_mobile/src/widgets/bottom_bar_button.dart';
Expand Down Expand Up @@ -142,6 +143,7 @@ class _LoadedAnalysisScreen extends ConsumerWidget {
title: _Title(options: options, title: title),
actions: [
_EngineDepth(ctrlProvider),
BookmarkButton(id: options.id as GameId),
AppBarIconButton(
onPressed: () => showAdaptiveBottomSheet<void>(
context: context,
Expand Down Expand Up @@ -173,6 +175,7 @@ class _LoadedAnalysisScreen extends ConsumerWidget {
mainAxisSize: MainAxisSize.min,
children: [
_EngineDepth(ctrlProvider),
BookmarkButton(id: options.id as GameId),
AppBarIconButton(
onPressed: () => showAdaptiveBottomSheet<void>(
context: context,
Expand Down

0 comments on commit 56fccaa

Please sign in to comment.