Skip to content

Commit

Permalink
Changed: Increase blurb length from 60 to 120 since Tasker doesn't ha…
Browse files Browse the repository at this point in the history
…ve that limit

If it affects other plugin host apps, it should be reported so that conditional blurb size can be used.
  • Loading branch information
agnostic-apollo committed Sep 9, 2021
1 parent fecba50 commit a5bcd56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ String generateBlurb(final String executable, final String arguments, boolean in
builder.append("\n").append(getString(waitForResult ? R.string.blurb_wait_for_result : R.string.blurb_no_wait_for_result));

String blurb = builder.toString();
final int maxBlurbLength = 60; // R.integer.twofortyfouram_locale_maximum_blurb_length
final int maxBlurbLength = 120; // R.integer.twofortyfouram_locale_maximum_blurb_length is set to 60 but we are ignoring that since Tasker doesn't have that limit.
return (blurb.length() > maxBlurbLength) ? blurb.substring(0, maxBlurbLength) : blurb;
}

Expand Down

0 comments on commit a5bcd56

Please sign in to comment.