mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-08 22:38:37 +00:00
Fix issue where rail wasn't showing in some situations.
This commit is contained in:
parent
40231ea45f
commit
66f021d01a
@ -319,6 +319,9 @@ public class MediaSendActivity extends PassphraseRequiredActionBarActivity imple
|
||||
MediaSendFragment sendFragment = (MediaSendFragment) getSupportFragmentManager().findFragmentByTag(TAG_SEND);
|
||||
|
||||
if (sendFragment == null || !sendFragment.isVisible() || !hud.isInputOpen()) {
|
||||
if (captionAndRail != null) {
|
||||
captionAndRail.setVisibility(View.VISIBLE);
|
||||
}
|
||||
super.onBackPressed();
|
||||
} else {
|
||||
hud.hideCurrentInput(composeText);
|
||||
|
Loading…
x
Reference in New Issue
Block a user