REF indendation fixes
This commit is contained in:
parent
e3cc7ecd4c
commit
462006aa34
|
@ -15,7 +15,7 @@ return function(main_state, common, width, point)
|
||||||
{'Total', 'Explicit', 'Outdated', 'Orphaned', 'Local'}
|
{'Total', 'Explicit', 'Outdated', 'Orphaned', 'Local'}
|
||||||
)
|
)
|
||||||
local update = function()
|
local update = function()
|
||||||
if main_state.pacman_stats then
|
if main_state.pacman_stats then
|
||||||
local stats = __string_match(
|
local stats = __string_match(
|
||||||
main_state.pacman_stats,
|
main_state.pacman_stats,
|
||||||
'%d+%s+[^%s]+%s+[^%s]+%s+(.*)$'
|
'%d+%s+[^%s]+%s+[^%s]+%s+(.*)$'
|
||||||
|
|
|
@ -24,11 +24,11 @@ return function(main_state, common, width, point)
|
||||||
main_state.pacman_stats,
|
main_state.pacman_stats,
|
||||||
"^%d+%s+([^%s]+)%s+([^%s]+).*"
|
"^%d+%s+([^%s]+)%s+([^%s]+).*"
|
||||||
)
|
)
|
||||||
common.text_rows_set(obj, 3, last_update)
|
common.text_rows_set(obj, 3, last_update)
|
||||||
common.text_rows_set(obj, 4, last_sync)
|
common.text_rows_set(obj, 4, last_sync)
|
||||||
else
|
else
|
||||||
common.text_rows_set(obj, 3, 'N/A')
|
common.text_rows_set(obj, 3, 'N/A')
|
||||||
common.text_rows_set(obj, 4, 'N/A')
|
common.text_rows_set(obj, 4, 'N/A')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local static = pure.partial(common.text_rows_draw_static, obj)
|
local static = pure.partial(common.text_rows_draw_static, obj)
|
||||||
|
|
Loading…
Reference in New Issue