Skip to content

Commit

Permalink
pre-review fixes (apache#25255)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkhan.nausharipov committed Feb 6, 2023
1 parent eda0bfe commit d67cf47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ class _Buttons extends StatelessWidget {
builder: (context) => Dialog(
backgroundColor: Colors.transparent,
child: BeamAlertDialog(
body: 'dialogs.deleteAccountWarning'.tr(),
continueLabel: 'ui.deleteMyAccount'.tr(),
title: 'ui.deleteTobAccount'.tr(),
body: 'dialogs.deleteAccountWarning'.tr(),
onContinue: () {
authNotifier.deleteAccount().then(
(_) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import 'package:flutter_svg/svg.dart';
import 'package:playground_components/playground_components.dart';

import '../../../assets/assets.gen.dart';
import '../../../constants/sizes.dart';
import 'markdown/tob_markdown.dart';

class HintsWidget extends StatelessWidget {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class SolutionButton extends StatelessWidget {
),
),
onPressed: () {
// TODO(nausharipov): resolve the conflict with save user code
showDialog(
context: context,
builder: (context) => Dialog(
Expand All @@ -60,11 +61,7 @@ class SolutionButton extends StatelessWidget {
);
},
icon: SvgPicture.asset(Assets.svg.solution),
label: Text(
tourNotifier.isShowingSolution
? 'pages.tour.assignment'
: 'pages.tour.solution',
).tr(),
label: const Text('ui.solution').tr(),
),
);
}
Expand Down

0 comments on commit d67cf47

Please sign in to comment.