1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49:21 +00:00

Adapt banner to large screens

This commit is contained in:
Pierre HUBERT 2021-12-30 13:36:12 +01:00
parent 78ae2a574a
commit 94ae3434e4

View File

@ -69,7 +69,7 @@ class _BannerWidgetState extends State<BannerWidget> {
: Icons.warning, : Icons.warning,
), ),
), ),
Flexible( Expanded(
child: Text( child: Text(
banner.message.containsKey(shortLang) banner.message.containsKey(shortLang)
? banner.message[shortLang] ? banner.message[shortLang]
@ -105,6 +105,7 @@ class BannerButton extends StatelessWidget {
return IconButton( return IconButton(
onPressed: onPressed, onPressed: onPressed,
icon: icon, icon: icon,
color: Colors.white,
disabledColor: Colors.white, disabledColor: Colors.white,
padding: EdgeInsets.all(1.0), padding: EdgeInsets.all(1.0),
); );