mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
cbbc1a3065
commit
56c470f03f
|
@ -25,6 +25,7 @@ import android.app.Dialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import android.text.TextUtils;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
@ -136,7 +137,8 @@ public class FragmentDialogSelectIdentity extends FragmentDialogBase {
|
||||||
|
|
||||||
Integer color = (identity.color == null ? identity.accountColor : identity.color);
|
Integer color = (identity.color == null ? identity.accountColor : identity.color);
|
||||||
vwColor.setBackgroundColor(color == null ? Color.TRANSPARENT : color);
|
vwColor.setBackgroundColor(color == null ? Color.TRANSPARENT : color);
|
||||||
tv.setText(identity.getDisplayName());
|
String name = identity.getDisplayName();
|
||||||
|
tv.setText(TextUtils.isEmpty(name) ? identity.email : name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue