MM-28295 Android fix opening sidebar after closing setting screen (#4777) (#4780)

(cherry picked from commit e40d0e4c8a)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2020-09-08 15:49:36 -04:00 committed by GitHub
parent b51f7a0bb2
commit c11b92b64e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ class EphemeralStore {
removeNavigationComponentId = (componentId) => {
const index = this.navigationComponentIdStack.indexOf(componentId);
if (index >= 0) {
if (index > 0) {
this.navigationComponentIdStack.splice(index, 1);
}
}