Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a9db6c

Browse files
committed
Show maintainer instead of author in lib manager
1 parent 1e7c7f8 commit 7a9db6c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellJPanel.java‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ public ContributedLibraryTableCellJPanel(JTable parentTable, Object value,
148148
installButtonPlaceholder.setVisible(!(installable || upgradable));
149149

150150
String name = selected.getName();
151-
String author = selected.getAuthor();
152-
// String maintainer = selectedLib.getMaintainer();
151+
// String author = selected.getAuthor();
152+
String maintainer = selected.getMaintainer();
153153
final String website = selected.getWebsite();
154154
String sentence = selected.getSentence();
155155
String paragraph = selected.getParagraph();
@@ -168,8 +168,8 @@ public ContributedLibraryTableCellJPanel(JTable parentTable, Object value,
168168

169169
// ...author...
170170
desc += format("<font color=\"{0}\">", midcolor);
171-
if (author != null && !author.isEmpty()) {
172-
desc += format(" by <b>{0}</b>", author);
171+
if (maintainer != null && !maintainer.isEmpty()) {
172+
desc += format(" by <b>{0}</b>", maintainer);
173173
}
174174

175175
// ...version.
@@ -196,7 +196,7 @@ public ContributedLibraryTableCellJPanel(JTable parentTable, Object value,
196196
desc += format("{0}", paragraph);
197197
desc += "<br />";
198198
}
199-
if (author != null && !author.isEmpty()) {
199+
if (maintainer != null && !maintainer.isEmpty()) {
200200
desc = setButtonOrLink(moreInfoButton, desc, moreInfoLbl, website);
201201
}
202202

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /