Small improvement

This commit is contained in:
M66B 2020-03-28 08:13:23 +01:00
parent 7e6097bcf2
commit 2b42df6ba3
1 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
} }
else { else {
viewType = AdapterMessage.ViewType.SEARCH; viewType = AdapterMessage.ViewType.SEARCH;
setTitle(R.string.title_search); setTitle(server ? R.string.title_search_server : R.string.title_search);
} }
} }
@ -1039,7 +1039,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
FragmentDialogFolder fragment = new FragmentDialogFolder(); FragmentDialogFolder fragment = new FragmentDialogFolder();
fragment.setArguments(args); fragment.setArguments(args);
fragment.setTargetFragment(FragmentMessages.this, FragmentMessages.REQUEST_SEARCH); fragment.setTargetFragment(FragmentMessages.this, REQUEST_SEARCH);
fragment.show(getParentFragmentManager(), "messages:search"); fragment.show(getParentFragmentManager(), "messages:search");
return true; return true;