mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
sort by time descending in the history tab
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user