fix search with localization and move elemen localization

This commit is contained in:
Salvatore Giordano
2020-04-04 14:13:04 +02:00
parent 16f09e5ecf
commit 1e9495cf24
4 changed files with 11 additions and 21 deletions

View File

@@ -123,8 +123,8 @@ class _SelectionDialogState extends State<SelectionDialog> {
flex: 4,
child: Text(
widget.showCountryOnly
? e.toCountryStringOnly(context)
: e.toLongString(context),
? e.toCountryStringOnly()
: e.toLongString(),
overflow: TextOverflow.fade,
),
),