mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
ColRecue: Now uses ::renderStringRight
This commit is contained in:
parent
99f6e6d634
commit
5c9f1f7b45
1 changed files with 3 additions and 11 deletions
|
@ -96,18 +96,10 @@ void ColumnRecur::render (
|
|||
{
|
||||
if (_style == "default" ||
|
||||
_style == "duration")
|
||||
{
|
||||
lines.push_back (
|
||||
color.colorize (
|
||||
rightJustify (
|
||||
ISO8601p (task.get ("recur")).format (), width)));
|
||||
}
|
||||
renderStringRight (lines, width, color, ISO8601p (task.get ("recur")).format ());
|
||||
|
||||
else if (_style == "indicator")
|
||||
{
|
||||
lines.push_back (
|
||||
color.colorize (
|
||||
rightJustify (context.config.get ("recurrence.indicator"), width)));
|
||||
}
|
||||
renderStringRight (lines, width, color, context.config.get ("recurrence.indicator"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue