mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Fix lang selection
This commit is contained in:
@ -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),
|
||||
),
|
||||
|
Reference in New Issue
Block a user