Skip to content

Commit a1bbbb5

Browse files
fixup! feat(plugin): implementing the method to generate the invoice to put inside the coffee conf
1 parent 3a5f660 commit a1bbbb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coffee_cmd/src/coffee_term/command_show.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub fn show_remote_list(remote_list: Result<CoffeeRemote, CoffeeError>) -> Resul
7070
Ok(())
7171
}
7272

73-
pub fn show_tips(coffee_tips: &Vec<CoffeeTip>) -> Result<(), CoffeeError> {
73+
pub fn show_tips(coffee_tips: &[CoffeeTip]) -> Result<(), CoffeeError> {
7474
term::println(
7575
term::format::tertiary_bold("●"),
7676
term::format::tertiary("Plugin"),
@@ -89,7 +89,7 @@ pub fn show_tips(coffee_tips: &Vec<CoffeeTip>) -> Result<(), CoffeeError> {
8989
if tip.status == "completed" {
9090
term::format::positive("●").into()
9191
} else {
92-
term::format::positive("●").into()
92+
term::format::negative("●").into()
9393
},
9494
term::format::highlight(tip.for_plugin.clone().unwrap_or_default()),
9595
term::format::bold(tip.destination.clone().unwrap_or_default()),

0 commit comments

Comments
 (0)