From e40d0e4c8a30cc7a2cdace74a878f7e782a53467 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Tue, 8 Sep 2020 16:34:30 -0300 Subject: [PATCH] MM-28295 Android fix opening sidebar after closing setting screen (#4777) --- app/store/ephemeral_store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/ephemeral_store.js b/app/store/ephemeral_store.js index 22d7fecb2..c9b439069 100644 --- a/app/store/ephemeral_store.js +++ b/app/store/ephemeral_store.js @@ -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); } }