mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Use notes as shortcut title
This commit is contained in:
@@ -4949,7 +4949,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
Bitmap.Config.ARGB_8888);
|
||||
}
|
||||
|
||||
String label = (TextUtils.isEmpty(message.subject) ? context.getString(R.string.app_name) : message.subject);
|
||||
String label;
|
||||
if (!TextUtils.isEmpty(message.notes))
|
||||
label = message.notes;
|
||||
else if (!TextUtils.isEmpty(message.subject))
|
||||
label = message.subject;
|
||||
else
|
||||
label = context.getString(R.string.app_name);
|
||||
|
||||
IconCompat icon = IconCompat.createWithBitmap(bm);
|
||||
String id = "message:" + message.id;
|
||||
|
||||
Reference in New Issue
Block a user