Fix issue where rail wasn't showing in some situations.
This commit is contained in:
parent
40231ea45f
commit
66f021d01a
1 changed files with 3 additions and 0 deletions
|
@ -319,6 +319,9 @@ public class MediaSendActivity extends PassphraseRequiredActionBarActivity imple
|
||||||
MediaSendFragment sendFragment = (MediaSendFragment) getSupportFragmentManager().findFragmentByTag(TAG_SEND);
|
MediaSendFragment sendFragment = (MediaSendFragment) getSupportFragmentManager().findFragmentByTag(TAG_SEND);
|
||||||
|
|
||||||
if (sendFragment == null || !sendFragment.isVisible() || !hud.isInputOpen()) {
|
if (sendFragment == null || !sendFragment.isVisible() || !hud.isInputOpen()) {
|
||||||
|
if (captionAndRail != null) {
|
||||||
|
captionAndRail.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
super.onBackPressed();
|
super.onBackPressed();
|
||||||
} else {
|
} else {
|
||||||
hud.hideCurrentInput(composeText);
|
hud.hideCurrentInput(composeText);
|
||||||
|
|
Loading…
Add table
Reference in a new issue