Add last update time to Updates Tab (closes #5466)

Co-authored-by: datreesezcup <datreesezcup@users.noreply.github.com>
This commit is contained in:
arkon
2022-08-29 14:57:25 -04:00
parent 8a3a7418d0
commit 43c195e14a
6 changed files with 41 additions and 2 deletions
@@ -163,6 +163,11 @@ fun UpdateScreen(
state = updatesListState,
contentPadding = contentPaddingWithNavBar,
) {
if (presenter.lastUpdated > 0L) {
item(key = "last_updated") {
UpdatesLastUpdatedItem(presenter.lastUpdated)
}
}
updatesUiItems(
uiModels = presenter.uiModels,
selectionMode = presenter.selectionMode,