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

This commit is contained in:
Elias Nahum 2020-09-08 16:34:30 -03:00 committed by GitHub
parent bd7afae6f0
commit e40d0e4c8a
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);
}
}