1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Fix lang selection

This commit is contained in:
2021-12-30 12:11:26 +01:00
parent bfe932c053
commit 90b3ffbe81
2 changed files with 8 additions and 6 deletions

View File

@ -48,8 +48,8 @@ class _BannerWidgetState extends State<BannerWidget> {
),
Flexible(
child: Text(
banner.message.containsKey(lang())
? banner.message[lang()]
banner.message.containsKey(shortLang)
? banner.message[shortLang]
: banner.message["en"],
style: TextStyle(color: Colors.white),
),