ColRecue: Now uses ::renderStringRight
This commit is contained in:
@@ -96,18 +96,10 @@ void ColumnRecur::render (
|
|||||||
{
|
{
|
||||||
if (_style == "default" ||
|
if (_style == "default" ||
|
||||||
_style == "duration")
|
_style == "duration")
|
||||||
{
|
renderStringRight (lines, width, color, ISO8601p (task.get ("recur")).format ());
|
||||||
lines.push_back (
|
|
||||||
color.colorize (
|
|
||||||
rightJustify (
|
|
||||||
ISO8601p (task.get ("recur")).format (), width)));
|
|
||||||
}
|
|
||||||
else if (_style == "indicator")
|
else if (_style == "indicator")
|
||||||
{
|
renderStringRight (lines, width, color, context.config.get ("recurrence.indicator"));
|
||||||
lines.push_back (
|
|
||||||
color.colorize (
|
|
||||||
rightJustify (context.config.get ("recurrence.indicator"), width)));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user