forked from Ivasoft/mattermost-mobile
* Add react-navigator dependency * Add react-native-navigation dependency * react-native-navigation, ios and android config * update react-native-navigation * New navigation and code cleanup * Set ScreenBackgroundColor * Fix channel drawer event issue * Applied RNPN non-working popInitial notification * Android navbar and back button * packages and notices * MM-redux update * Fix draft on team switch * Remove custom NavBar
18 lines
418 B
JavaScript
18 lines
418 B
JavaScript
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import {ViewTypes} from 'app/constants';
|
|
|
|
export function handleServerUrlChanged(serverUrl) {
|
|
return async (dispatch, getState) => {
|
|
dispatch({
|
|
type: ViewTypes.SERVER_URL_CHANGED,
|
|
serverUrl
|
|
}, getState);
|
|
};
|
|
}
|
|
|
|
export default {
|
|
handleServerUrlChanged
|
|
};
|