mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
sort Giftcards alphabetically (#469)
This commit is contained in:
parent
4a5747c630
commit
5fcbf3634b
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ abstract class IoniaGiftCardsListViewModelBase with Store {
|
|||
|
||||
void _getMerchants() {
|
||||
ioniaService.getMerchantsByFilter(categories: selectedFilters).then((value) {
|
||||
value.sort((a, b) => a.legalName.toLowerCase().compareTo(b.legalName.toLowerCase()));
|
||||
ioniaMerchants = ioniaMerchantList = value;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue