mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 15:40:59 +01:00
Added remark about setup/back
This commit is contained in:
@@ -62,6 +62,7 @@ public class FragmentSetup extends FragmentBase {
|
||||
|
||||
private Button btnHelp;
|
||||
private Button btnQuick;
|
||||
private TextView tvQuickRemark;
|
||||
|
||||
private TextView tvAccountDone;
|
||||
private Button btnAccount;
|
||||
@@ -106,6 +107,7 @@ public class FragmentSetup extends FragmentBase {
|
||||
|
||||
btnHelp = view.findViewById(R.id.btnHelp);
|
||||
btnQuick = view.findViewById(R.id.btnQuick);
|
||||
tvQuickRemark = view.findViewById(R.id.tvQuickRemark);
|
||||
|
||||
tvAccountDone = view.findViewById(R.id.tvAccountDone);
|
||||
btnAccount = view.findViewById(R.id.btnAccount);
|
||||
@@ -249,6 +251,8 @@ public class FragmentSetup extends FragmentBase {
|
||||
});
|
||||
|
||||
// Initialize
|
||||
tvQuickRemark.setVisibility(View.GONE);
|
||||
|
||||
tvAccountDone.setText(null);
|
||||
tvAccountDone.setCompoundDrawables(null, null, null, null);
|
||||
tvNoPrimaryDrafts.setVisibility(View.GONE);
|
||||
@@ -325,6 +329,8 @@ public class FragmentSetup extends FragmentBase {
|
||||
|
||||
getActivity().invalidateOptionsMenu();
|
||||
|
||||
tvQuickRemark.setVisibility(done ? View.VISIBLE : View.GONE);
|
||||
|
||||
tvAccountDone.setText(done ? R.string.title_setup_done : R.string.title_setup_to_do);
|
||||
tvAccountDone.setTextColor(done ? textColorPrimary : colorWarning);
|
||||
tvAccountDone.setCompoundDrawablesWithIntrinsicBounds(done ? check : null, null, null, null);
|
||||
|
||||
Reference in New Issue
Block a user