Skip to content

Commit

Permalink
Subtitle tag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
witx98 committed Nov 27, 2024
1 parent 72aa085 commit 295fbe7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private List<Tag> tagsForConnection(HofundConnection connection) {
tags.add(Tag.of("title", connection.getTarget() + "_" + connection.getType()));

String subtitle = Objects.equals(connection.getDescription(), "") ?
connection.getTarget()
connection.getType().toString()
: String.format("%s (%s)", connection.getType(), connection.getDescription());

tags.add(Tag.of("subtitle", subtitle));
Expand Down

0 comments on commit 295fbe7

Please sign in to comment.