Abstract out library last updated timespan text

So we can reuse it for showing last automatic backup time.
This commit is contained in:
arkon
2023-10-29 11:54:50 -04:00
parent ce5e10be95
commit 298c49f3ab
4 changed files with 21 additions and 21 deletions
@@ -109,9 +109,7 @@ fun UpdateScreen(
FastScrollLazyColumn(
contentPadding = contentPadding,
) {
if (lastUpdated > 0L) {
updatesLastUpdatedItem(lastUpdated)
}
updatesLastUpdatedItem(lastUpdated)
updatesUiItems(
uiModels = state.getUiModel(context, relativeTime),