mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 18:26:20 +00:00
1.129 release
This commit is contained in:
parent
745be76439
commit
b6e466ea51
3 changed files with 6 additions and 7 deletions
Binary file not shown.
|
@ -6,8 +6,8 @@ android {
|
|||
applicationId "eu.faircode.email"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 28
|
||||
versionCode 128
|
||||
versionName "1.128"
|
||||
versionCode 129
|
||||
versionName "1.129"
|
||||
archivesBaseName = "FairEmail-v$versionName"
|
||||
|
||||
javaCompileOptions {
|
||||
|
|
|
@ -261,8 +261,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|||
tvTime.setText(null);
|
||||
ivAttachments.setVisibility(View.GONE);
|
||||
tvSubject.setText(null);
|
||||
if (tvPreview != null)
|
||||
tvPreview.setText(null);
|
||||
tvPreview.setVisibility(View.GONE);
|
||||
tvFolder.setText(null);
|
||||
tvCount.setText(null);
|
||||
ivThread.setVisibility(View.GONE);
|
||||
|
@ -334,9 +333,8 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|||
ivAttachments.setVisibility(message.attachments > 0 ? View.VISIBLE : View.GONE);
|
||||
tvSubject.setText(message.subject);
|
||||
|
||||
tvPreview.setText(null);
|
||||
tvPreview.setVisibility(preview && message.content ? View.VISIBLE : View.GONE);
|
||||
if (message.content) {
|
||||
tvPreview.setVisibility(View.GONE);
|
||||
if (preview && message.content) {
|
||||
Bundle args = new Bundle();
|
||||
args.putSerializable("message", message);
|
||||
|
||||
|
@ -356,6 +354,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|||
@Override
|
||||
protected void onLoaded(Bundle args, String preview) {
|
||||
tvPreview.setText(preview);
|
||||
tvPreview.setVisibility(View.VISIBLE);
|
||||
tvPreview.setHasTransientState(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue