diff --git a/android/build.gradle b/android/build.gradle index c505a86..1247edd 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.3.50' + ext.kotlin_version = '1.5.0' repositories { google() jcenter() diff --git a/lib/menu/ui/primary_button.dart b/lib/menu/ui/primary_button.dart index 0685da8..a8a9e3e 100644 --- a/lib/menu/ui/primary_button.dart +++ b/lib/menu/ui/primary_button.dart @@ -43,13 +43,18 @@ class PrimaryButton extends StatelessWidget { // If there is no icon we don't want any spacing so the text is properly centered width: buttonIcon == null ? 0 : 5, ), - Text( - buttonText, - style: GoogleFonts.cairo( - textStyle: const TextStyle( - color: Colors.white, - fontSize: 24, - fontWeight: FontWeight.bold, + Expanded( + child: Text( + buttonText, + overflow: TextOverflow.fade, + maxLines: 1, + softWrap: false, + style: GoogleFonts.cairo( + textStyle: const TextStyle( + color: Colors.white, + fontSize: 24, + fontWeight: FontWeight.bold, + ), ), ), ),