fix; Update default sorting for assets and collectibles (#16552)

This commit is contained in:
Cuteivist 2024-10-21 12:26:14 +02:00 committed by GitHub
parent 6e109ba858
commit 5d12440562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ RightTabBaseView {
settings.category = settingsCategoryName
walletSettings.sync()
settings.sync()
let value = SortOrderComboBox.TokenOrderAlpha
let value = SortOrderComboBox.TokenOrderBalance
if (walletSettings.assetsViewCustomOrderApplyTimestamp > settings.sortOrderUpdateTimestamp && customOrderAvailable) {
value = SortOrderComboBox.TokenOrderCustom
} else {
@ -326,7 +326,7 @@ RightTabBaseView {
settings.category = settingsCategoryName
walletSettings.sync()
settings.sync()
let value = SortOrderComboBox.TokenOrderAlpha
let value = SortOrderComboBox.TokenOrderBalance
if (walletSettings.collectiblesViewCustomOrderApplyTimestamp > settings.sortOrderUpdateTimestamp && customOrderAvailable) {
value = SortOrderComboBox.TokenOrderCustom
} else {