mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
0d330fc481
commit
9783dd0ac7
|
@ -159,9 +159,8 @@ public class FragmentAccount extends FragmentBase {
|
||||||
@Override
|
@Override
|
||||||
@Nullable
|
@Nullable
|
||||||
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
||||||
setHasOptionsMenu(true);
|
|
||||||
|
|
||||||
setSubtitle(R.string.title_edit_account);
|
setSubtitle(R.string.title_edit_account);
|
||||||
|
setHasOptionsMenu(true);
|
||||||
|
|
||||||
view = (ViewGroup) inflater.inflate(R.layout.fragment_account, container, false);
|
view = (ViewGroup) inflater.inflate(R.layout.fragment_account, container, false);
|
||||||
|
|
||||||
|
|
|
@ -394,10 +394,11 @@ public class FragmentCompose extends FragmentBase {
|
||||||
|
|
||||||
((ActivityBase) getActivity()).addBackPressedListener(onBackPressedListener);
|
((ActivityBase) getActivity()).addBackPressedListener(onBackPressedListener);
|
||||||
|
|
||||||
setHasOptionsMenu(true);
|
|
||||||
|
|
||||||
// Initialize
|
// Initialize
|
||||||
setSubtitle(R.string.title_compose);
|
setSubtitle(R.string.title_compose);
|
||||||
|
setHasOptionsMenu(true);
|
||||||
|
|
||||||
etExtra.setHint("");
|
etExtra.setHint("");
|
||||||
tvDomain.setText(null);
|
tvDomain.setText(null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue