mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Added default email address hint
This commit is contained in:
@@ -49,6 +49,7 @@ import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.appcompat.widget.PopupMenu;
|
||||
import androidx.constraintlayout.widget.Group;
|
||||
import androidx.fragment.app.FragmentActivity;
|
||||
import androidx.lifecycle.Observer;
|
||||
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
|
||||
import androidx.preference.PreferenceManager;
|
||||
@@ -90,13 +91,17 @@ public class FragmentSetup extends FragmentBase {
|
||||
private int colorWarning;
|
||||
private Drawable check;
|
||||
|
||||
private boolean manual = BuildConfig.DEBUG;
|
||||
private boolean manual = false;
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
||||
setSubtitle(R.string.title_setup);
|
||||
|
||||
FragmentActivity activity = getActivity();
|
||||
if (activity != null)
|
||||
manual = activity.getIntent().getBooleanExtra("manual", false);
|
||||
|
||||
textColorPrimary = Helper.resolveColor(getContext(), android.R.attr.textColorPrimary);
|
||||
colorWarning = Helper.resolveColor(getContext(), R.attr.colorWarning);
|
||||
check = getContext().getDrawable(R.drawable.twotone_check_24);
|
||||
|
||||
Reference in New Issue
Block a user