Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Polish UI
Browse files Browse the repository at this point in the history
  • Loading branch information
bgwastu committed Jan 28, 2021
1 parent 73790dd commit 5f3d3c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/ui/shared/download_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class DownloadCompletedDialog extends StatelessWidget {
actions: [
MaterialButton(
onPressed: () => Get.back(),
child: Text(AppLocalizations.of(context).translate('no'), style: TextStyle(color: secondaryColor)),
child: Text(AppLocalizations.of(context).translate('no').toUpperCase(), style: TextStyle(color: secondaryColor)),
),
MaterialButton(
onPressed: () async {
Expand All @@ -97,7 +97,7 @@ class DownloadCompletedDialog extends StatelessWidget {
}
},
child: Text(
AppLocalizations.of(context).translate('yes'),
AppLocalizations.of(context).translate('yes').toUpperCase(),
style: TextStyle(color: secondaryColor),
),
),
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/views/book_detail/book_detail_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ class _BookDetailViewState extends State<BookDetailView> {
actions: [
MaterialButton(
onPressed: () => Get.back(),
child: Text(AppLocalizations.of(context).translate('no'),
child: Text(AppLocalizations.of(context).translate('no').toUpperCase(),
style: TextStyle(color: secondaryColor)),
),
MaterialButton(
onPressed: () => deleteBook(),
child: Text(AppLocalizations.of(context).translate('yes'),
child: Text(AppLocalizations.of(context).translate('yes').toUpperCase(),
style: TextStyle(color: secondaryColor)),
),
],
Expand Down

0 comments on commit 5f3d3c1

Please sign in to comment.