From 2b42df6ba3be1156dc02df2d6631a2052cdc263c Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 28 Mar 2020 08:13:23 +0100 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index dac91afd09..dbfbe41e70 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -397,7 +397,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. } else { 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(); fragment.setArguments(args); - fragment.setTargetFragment(FragmentMessages.this, FragmentMessages.REQUEST_SEARCH); + fragment.setTargetFragment(FragmentMessages.this, REQUEST_SEARCH); fragment.show(getParentFragmentManager(), "messages:search"); return true;