mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-18 10:33:13 +00:00
make TransportOptionsPopup a ListPopupWindow
disable circular reveal at least for now Fixes #3600 Closes #3607 // FREEBIE
This commit is contained in:

committed by
Moxie Marlinspike

parent
e603142215
commit
35159ac456
@@ -50,7 +50,7 @@ public class SendButton extends ImageButton
|
||||
}
|
||||
|
||||
private TransportOptionsPopup initializeTransportOptionsPopup() {
|
||||
return new TransportOptionsPopup(getContext(), this);
|
||||
return new TransportOptionsPopup(getContext(), this, this);
|
||||
}
|
||||
|
||||
public boolean isManualSelection() {
|
||||
@@ -92,7 +92,7 @@ public class SendButton extends ImageButton
|
||||
@Override
|
||||
public boolean onLongClick(View v) {
|
||||
if (transportOptions.getEnabledTransports().size() > 1) {
|
||||
transportOptionsPopup.display(getContext(), SendButton.this, transportOptions.getEnabledTransports());
|
||||
transportOptionsPopup.display(transportOptions.getEnabledTransports());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user