Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtitle tag fix #59

Merged
merged 3 commits into from
Nov 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Subtitle tag fix
witx98 committed Nov 27, 2024
commit 295fbe7bd861a890482017df8e92e02babd715d7
Original file line number Diff line number Diff line change
@@ -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));