File tree Expand file tree Collapse file tree
learning/tour-of-beam/frontend/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,9 +132,9 @@ class _Buttons extends StatelessWidget {
132132 builder: (context) => Dialog (
133133 backgroundColor: Colors .transparent,
134134 child: BeamAlertDialog (
135+ body: 'dialogs.deleteAccountWarning' .tr (),
135136 continueLabel: 'ui.deleteMyAccount' .tr (),
136137 title: 'ui.deleteTobAccount' .tr (),
137- body: 'dialogs.deleteAccountWarning' .tr (),
138138 onContinue: () {
139139 authNotifier.deleteAccount ().then (
140140 (_) {
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import 'package:flutter_svg/svg.dart';
2222import 'package:playground_components/playground_components.dart' ;
2323
2424import '../../../assets/assets.gen.dart' ;
25- import '../../../constants/sizes.dart' ;
2625import 'markdown/tob_markdown.dart' ;
2726
2827class HintsWidget extends StatelessWidget {
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ class SolutionButton extends StatelessWidget {
4444 ),
4545 ),
4646 onPressed: () {
47+ // TODO(nausharipov): resolve the conflict with save user code
4748 showDialog (
4849 context: context,
4950 builder: (context) => Dialog (
@@ -60,11 +61,7 @@ class SolutionButton extends StatelessWidget {
6061 );
6162 },
6263 icon: SvgPicture .asset (Assets .svg.solution),
63- label: Text (
64- tourNotifier.isShowingSolution
65- ? 'pages.tour.assignment'
66- : 'pages.tour.solution' ,
67- ).tr (),
64+ label: const Text ('ui.solution' ).tr (),
6865 ),
6966 );
7067 }
You can’t perform that action at this time.
0 commit comments