[Gekidou] Show login screen when selecting a previous server (#6190)

* Show login screen when selecting a previous server

* Update app/screens/home/channel_list/servers/servers_list/server_item/server_item.tsx

Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>

Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>
This commit is contained in:
Elias Nahum
2022-04-25 13:26:31 -04:00
committed by GitHub
parent 1a4040252a
commit bb3a3112b1
8 changed files with 144 additions and 32 deletions

View File

@@ -270,6 +270,9 @@ jest.mock('react-native-navigation', () => {
bindComponent: jest.fn(() => {
return {remove: jest.fn()};
}),
registerNavigationButtonPressedListener: jest.fn(() => {
return {buttonId: 'buttonId'};
}),
}),
setRoot: jest.fn(),
pop: jest.fn(),