Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/arduino/Arduino.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2020-10-12 15:03:26 +0300
committerCristian Maglie <c.maglie@bug.st>2021-05-10 16:55:54 +0300
commit7a9db6ccf83a115e2f057a8a87b9ac91367cbe8b (patch)
tree25d7c4ea4a2354c982d85893da3131bf8733335a /app
parent1e7c7f89fb5b89b65eb8d5582603dc033ee5cd36 (diff)
Show maintainer instead of author in lib manager
Diffstat (limited to 'app')
-rw-r--r--app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellJPanel.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellJPanel.java b/app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellJPanel.java
index 4f8c15f56..a5bb940ba 100644
--- a/app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellJPanel.java
+++ b/app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellJPanel.java
@@ -148,8 +148,8 @@ public class ContributedLibraryTableCellJPanel extends JPanel {
installButtonPlaceholder.setVisible(!(installable || upgradable));
String name = selected.getName();
- String author = selected.getAuthor();
- // String maintainer = selectedLib.getMaintainer();
+ // String author = selected.getAuthor();
+ String maintainer = selected.getMaintainer();
final String website = selected.getWebsite();
String sentence = selected.getSentence();
String paragraph = selected.getParagraph();
@@ -168,8 +168,8 @@ public class ContributedLibraryTableCellJPanel extends JPanel {
// ...author...
desc += format("<font color=\"{0}\">", midcolor);
- if (author != null && !author.isEmpty()) {
- desc += format(" by <b>{0}</b>", author);
+ if (maintainer != null && !maintainer.isEmpty()) {
+ desc += format(" by <b>{0}</b>", maintainer);
}
// ...version.
@@ -196,7 +196,7 @@ public class ContributedLibraryTableCellJPanel extends JPanel {
desc += format("{0}", paragraph);
desc += "<br />";
}
- if (author != null && !author.isEmpty()) {
+ if (maintainer != null && !maintainer.isEmpty()) {
desc = setButtonOrLink(moreInfoButton, desc, moreInfoLbl, website);
}