mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 14:03:23 -07:00
cleanup [skip ci]
This commit is contained in:
parent
4c7baa9476
commit
5685531770
3 changed files with 7 additions and 44 deletions
|
@ -52,11 +52,7 @@ namespace GreenshotJiraPlugin {
|
|||
_jira = jira;
|
||||
}
|
||||
|
||||
public override string Designation {
|
||||
get {
|
||||
return "Jira";
|
||||
}
|
||||
}
|
||||
public override string Designation => "Jira";
|
||||
|
||||
private string FormatUpload(Issue jira) {
|
||||
return Designation + " - " + jira.Key + ": " + jira.Fields.Summary.Substring(0, Math.Min(20, jira.Fields.Summary.Length));
|
||||
|
@ -72,17 +68,10 @@ namespace GreenshotJiraPlugin {
|
|||
}
|
||||
}
|
||||
|
||||
public override bool isActive {
|
||||
get {
|
||||
return base.isActive && !string.IsNullOrEmpty(Config.Url);
|
||||
}
|
||||
}
|
||||
public override bool isActive => base.isActive && !string.IsNullOrEmpty(Config.Url);
|
||||
|
||||
public override bool isDynamic => true;
|
||||
|
||||
public override bool isDynamic {
|
||||
get {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
public override Image DisplayIcon {
|
||||
get {
|
||||
var resources = new ComponentResourceManager(typeof(JiraPlugin));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue