mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Show more signature result lines
This commit is contained in:
parent
189255f8fe
commit
cc23353a9e
1 changed files with 11 additions and 2 deletions
|
@ -7292,8 +7292,17 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
protected void onExecuted(Bundle args, PendingIntent pi) {
|
||||
if (args.containsKey("sigresult")) {
|
||||
String text = args.getString("sigresult");
|
||||
Snackbar.make(view, text, Snackbar.LENGTH_LONG)
|
||||
.setGestureInsetBottomIgnored(true).show();
|
||||
Snackbar sb = Snackbar.make(view, text, Snackbar.LENGTH_LONG)
|
||||
.setGestureInsetBottomIgnored(true);
|
||||
|
||||
View sv = sb.getView();
|
||||
if (sv != null) {
|
||||
TextView tv = sv.findViewById(com.google.android.material.R.id.snackbar_text);
|
||||
if (tv != null)
|
||||
tv.setMaxLines(7);
|
||||
}
|
||||
|
||||
sb.show();
|
||||
}
|
||||
|
||||
if (pi != null)
|
||||
|
|
Loading…
Reference in a new issue