Refactoring

This commit is contained in:
M66B 2019-03-20 09:47:03 +00:00
parent 0d330fc481
commit 9783dd0ac7
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);