Abstract out library last updated timespan text
So we can reuse it for showing last automatic backup time.
This commit is contained in:
@@ -109,9 +109,7 @@ fun UpdateScreen(
|
||||
FastScrollLazyColumn(
|
||||
contentPadding = contentPadding,
|
||||
) {
|
||||
if (lastUpdated > 0L) {
|
||||
updatesLastUpdatedItem(lastUpdated)
|
||||
}
|
||||
updatesLastUpdatedItem(lastUpdated)
|
||||
|
||||
updatesUiItems(
|
||||
uiModels = state.getUiModel(context, relativeTime),
|
||||
|
||||
Reference in New Issue
Block a user