mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
sort Giftcards alphabetically (#469)
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user