mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
New Conversation v2 - Fix find by username/phone options disappearing after rotation.
This commit is contained in:
committed by
Cody Henthorne
parent
eea89d3b62
commit
b49074a786
@@ -17,6 +17,7 @@ import org.thoughtcrime.securesms.R;
|
||||
import org.thoughtcrime.securesms.components.ContactFilterView;
|
||||
import org.thoughtcrime.securesms.contacts.ContactSelectionDisplayMode;
|
||||
import org.thoughtcrime.securesms.contacts.paged.ChatType;
|
||||
import org.thoughtcrime.securesms.contacts.selection.ContactSelectionArguments;
|
||||
import org.thoughtcrime.securesms.conversation.ConversationIntents;
|
||||
import org.thoughtcrime.securesms.database.SignalDatabase;
|
||||
import org.thoughtcrime.securesms.payments.CanNotSendPaymentDialog;
|
||||
@@ -49,9 +50,9 @@ public class PaymentRecipientSelectionFragment extends LoggingFragment implement
|
||||
contactFilterView = view.findViewById(R.id.contact_filter_edit_text);
|
||||
|
||||
Bundle arguments = new Bundle();
|
||||
arguments.putBoolean(ContactSelectionListFragment.REFRESHABLE, false);
|
||||
arguments.putInt(ContactSelectionListFragment.DISPLAY_MODE, ContactSelectionDisplayMode.FLAG_PUSH | ContactSelectionDisplayMode.FLAG_HIDE_NEW);
|
||||
arguments.putBoolean(ContactSelectionListFragment.CAN_SELECT_SELF, false);
|
||||
arguments.putBoolean(ContactSelectionArguments.REFRESHABLE, false);
|
||||
arguments.putInt(ContactSelectionArguments.DISPLAY_MODE, ContactSelectionDisplayMode.FLAG_PUSH | ContactSelectionDisplayMode.FLAG_HIDE_NEW);
|
||||
arguments.putBoolean(ContactSelectionArguments.CAN_SELECT_SELF, false);
|
||||
|
||||
Fragment child = getChildFragmentManager().findFragmentById(R.id.contact_selection_list_fragment_holder);
|
||||
if (child == null) {
|
||||
|
||||
Reference in New Issue
Block a user