mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
exchange currency select coin list sorting fix
This commit is contained in:
parent
3f80c17777
commit
ba137742fa
1 changed files with 2 additions and 0 deletions
|
@ -338,6 +338,7 @@ class _ExchangeCurrencySelectionViewState
|
|||
coin.ticker.toLowerCase() == e.ticker.toLowerCase())
|
||||
.isNotEmpty)
|
||||
.toList(growable: false);
|
||||
items.sort((a, b) => a.name.compareTo(b.name));
|
||||
|
||||
return RoundedWhiteContainer(
|
||||
padding: const EdgeInsets.all(0),
|
||||
|
@ -427,6 +428,7 @@ class _ExchangeCurrencySelectionViewState
|
|||
Flexible(
|
||||
child: Builder(builder: (context) {
|
||||
final filtered = filter(_searchString);
|
||||
filtered.sort((a, b) => a.name.compareTo(b.name));
|
||||
return RoundedWhiteContainer(
|
||||
padding: const EdgeInsets.all(0),
|
||||
child: ListView.builder(
|
||||
|
|
Loading…
Reference in a new issue