mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Fix situation where search nav could get stuck.
If you navigated to the ConversationActivity again via some action (like a shared contact invite) while searching, we don't get the toolbar close event, and therefore the search nav would stay open. Now we just reset it on newIntent() to be safe.
This commit is contained in:
parent
7fd6f5b3ff
commit
fd862e575b
@ -394,6 +394,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
if (fragment != null) {
|
if (fragment != null) {
|
||||||
fragment.onNewIntent();
|
fragment.onNewIntent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
searchNav.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user