Skip to content

Commit

Permalink
Added symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
mrusme committed Apr 5, 2021
1 parent 24bf3ff commit c95c162
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tui/toot.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ func RenderToot(toot *mast.Toot, width int, showImages bool) (string, error) {
// https://docs.joinmastodon.org/entities/notification/#type
switch notification.Type {
case "follow":
notificationText = fmt.Sprintf("[red]%s followed you[-]",
notificationText = fmt.Sprintf("[red]\xe2\x98\xba\xef\xb8\x8e %s followed you[-]",
notificationAccount,
)
case "follow_request":
notificationText = fmt.Sprintf("[blue]%s requested to follow you[-]",
notificationText = fmt.Sprintf("[blue]\xe2\x98\x95 %s requested to follow you[-]",
notificationAccount,
)
case "mention":
Expand All @@ -75,11 +75,11 @@ func RenderToot(toot *mast.Toot, width int, showImages bool) (string, error) {
notificationAccount,
)
case "poll":
notificationText = fmt.Sprintf("[grey]A poll by %s has ended[-]",
notificationText = fmt.Sprintf("[grey]\xe2\x9c\x8e A poll by %s has ended[-]",
notificationAccount,
)
case "status":
notificationText = fmt.Sprintf("[grey]%s posted a toot[-]",
notificationText = fmt.Sprintf("[grey]\xe2\x9c\x8c\xef\xb8\x8e %s posted a toot[-]",
notificationAccount,
)
}
Expand Down

0 comments on commit c95c162

Please sign in to comment.