mirror of
https://github.com/ihabunek/toot.git
synced 2024-11-03 04:17:21 -05:00
Fixed author name / account name on boosted toots
This commit is contained in:
parent
eeb92007d2
commit
d1beec7935
@ -427,8 +427,8 @@ class StatusDetails(urwid.Pile):
|
|||||||
account_color = ("highlight" if self.status.original.author.account in
|
account_color = ("highlight" if self.status.original.author.account in
|
||||||
self.timeline.tui.followed_accounts else "account")
|
self.timeline.tui.followed_accounts else "account")
|
||||||
|
|
||||||
atxt = urwid.Pile([("pack", urwid.Text(("bold", self.status.author.display_name))),
|
atxt = urwid.Pile([("pack", urwid.Text(("bold", self.status.original.author.display_name))),
|
||||||
("pack", urwid.Text((account_color, self.status.author.account)))])
|
("pack", urwid.Text((account_color, self.status.original.author.account)))])
|
||||||
|
|
||||||
columns = urwid.Columns([aimg, ("weight", 9999, atxt)], dividechars=1, min_width=5)
|
columns = urwid.Columns([aimg, ("weight", 9999, atxt)], dividechars=1, min_width=5)
|
||||||
return columns
|
return columns
|
||||||
|
Loading…
Reference in New Issue
Block a user