From 731b2ec1388af302dc419205c91ed036eff408b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20TERK=C4=B0R?= Date: Fri, 21 Sep 2018 12:53:46 +0300 Subject: [PATCH] Update login.js --- src/screens/login/login.js | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/src/screens/login/login.js b/src/screens/login/login.js index db91562dc..306e0bea4 100644 --- a/src/screens/login/login.js +++ b/src/screens/login/login.js @@ -117,21 +117,17 @@ class LoginPage extends Component { } loginwithSc2 = () => { - Navigation.showModal({ - stack: { - children: [{ - component: { - name: "navigation.eSteem.SteemConnect", - passProps: {}, - options: { - topBar: { - title: { - text: "Login via SC2" - } - } - } - } - }] + Navigation.push(this.props.componentId, { + component: { + name: "navigation.eSteem.SteemConnect", + passProps: {}, + options: { + topBar: { + title: { + text: "Login via SC2" + } + } + } } }); }