mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Refactoring
This commit is contained in:
parent
a2989fa27c
commit
0099c84d92
1 changed files with 3 additions and 3 deletions
|
@ -3107,7 +3107,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
else
|
||||
context.startActivity(new Intent(context, ActivityBilling.class));
|
||||
} else if (id == R.id.ibSearchText) {
|
||||
onMenuSearch(message);
|
||||
onSearchText(message);
|
||||
} else if (id == R.id.ibSearch) {
|
||||
onSearchContact(message);
|
||||
} else if (id == R.id.ibAnswer) {
|
||||
|
@ -4257,7 +4257,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
onMenuNotes(message);
|
||||
return true;
|
||||
} else if (itemId == R.id.menu_search_in_text) {
|
||||
onMenuSearch(message);
|
||||
onSearchText(message);
|
||||
return true;
|
||||
} else if (itemId == R.id.menu_create_rule) {
|
||||
onMenuCreateRule(message);
|
||||
|
@ -4677,7 +4677,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
fragment.show(parentFragment.getParentFragmentManager(), "edit:notes");
|
||||
}
|
||||
|
||||
private void onMenuSearch(TupleMessageEx message) {
|
||||
private void onSearchText(TupleMessageEx message) {
|
||||
LayoutInflater inflater = LayoutInflater.from(context);
|
||||
View dview = inflater.inflate(R.layout.popup_search_in_text, null, false);
|
||||
EditText etSearch = dview.findViewById(R.id.etSearch);
|
||||
|
|
Loading…
Reference in a new issue