REF indendation fixes

This commit is contained in:
Nathan Dwarshuis 2022-07-21 22:13:27 -04:00
parent e3cc7ecd4c
commit 462006aa34
2 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ return function(main_state, common, width, point)
{'Total', 'Explicit', 'Outdated', 'Orphaned', 'Local'}
)
local update = function()
if main_state.pacman_stats then
if main_state.pacman_stats then
local stats = __string_match(
main_state.pacman_stats,
'%d+%s+[^%s]+%s+[^%s]+%s+(.*)$'

View File

@ -24,11 +24,11 @@ return function(main_state, common, width, point)
main_state.pacman_stats,
"^%d+%s+([^%s]+)%s+([^%s]+).*"
)
common.text_rows_set(obj, 3, last_update)
common.text_rows_set(obj, 4, last_sync)
else
common.text_rows_set(obj, 3, 'N/A')
common.text_rows_set(obj, 4, 'N/A')
common.text_rows_set(obj, 3, last_update)
common.text_rows_set(obj, 4, last_sync)
else
common.text_rows_set(obj, 3, 'N/A')
common.text_rows_set(obj, 4, 'N/A')
end
end
local static = pure.partial(common.text_rows_draw_static, obj)