[FIX] Revert removed function
Co-authored-by: Bruno Dantas <oliveiradantas96@gmail.com> Co-authored-by: Calebe Rios <calebersmendes@gmail.com>
This commit is contained in:
parent
4004d4f2f1
commit
d04626f792
|
@ -134,7 +134,7 @@ class ServerDropdown extends Component {
|
|||
const {
|
||||
server: currentServer, selectServerRequest, navigation, split
|
||||
} = this.props;
|
||||
|
||||
this.close();
|
||||
if (currentServer !== server) {
|
||||
const userId = await RNUserDefaults.get(`${ RocketChat.TOKEN_KEY }-${ server }`);
|
||||
if (split) {
|
||||
|
|
Loading…
Reference in New Issue