sort by time descending in the history tab

This commit is contained in:
greenart7c3
2023-10-20 06:24:05 -03:00
parent 20e0e9bbb5
commit f899f57761
@@ -263,7 +263,7 @@ fun MainScreen(
composable(
Route.History.route,
content = {
val history = LocalPreferences.loadHistory(account.keyPair.pubKey.toNpub())
val history = LocalPreferences.loadHistory(account.keyPair.pubKey.toNpub()).sortedWith(compareByDescending { it.time })
LazyColumn(
Modifier
.fillMaxSize()