diff --git a/lib/ui/shared/download_dialog.dart b/lib/ui/shared/download_dialog.dart index 097fe15..2e714b4 100644 --- a/lib/ui/shared/download_dialog.dart +++ b/lib/ui/shared/download_dialog.dart @@ -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 { @@ -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), ), ), diff --git a/lib/ui/views/book_detail/book_detail_view.dart b/lib/ui/views/book_detail/book_detail_view.dart index a9de4d2..86d13ea 100644 --- a/lib/ui/views/book_detail/book_detail_view.dart +++ b/lib/ui/views/book_detail/book_detail_view.dart @@ -238,12 +238,12 @@ class _BookDetailViewState extends State { 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)), ), ],