chore: naming
This commit is contained in:
parent
04dd2ac162
commit
6b62db7198
|
@ -465,7 +465,7 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
|
|||
{issuesWithNotifications ? (
|
||||
<HeaderButton.Item
|
||||
iconName='notification-disabled'
|
||||
onPress={this.goPushTroubleshoot}
|
||||
onPress={this.navigateToPushTroubleshootView}
|
||||
testID='rooms-list-view-push-troubleshoot'
|
||||
color={themes[theme].fontDanger}
|
||||
/>
|
||||
|
@ -787,7 +787,7 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
|
|||
}
|
||||
};
|
||||
|
||||
goPushTroubleshoot = () => {
|
||||
navigateToPushTroubleshootView = () => {
|
||||
const { navigation, isMasterDetail } = this.props;
|
||||
if (isMasterDetail) {
|
||||
navigation.navigate('ModalStackNavigator', { screen: 'PushTroubleshootView' });
|
||||
|
|
|
@ -71,7 +71,7 @@ const UserNotificationPreferencesView = () => {
|
|||
}
|
||||
};
|
||||
|
||||
const goPushTroubleshoot = () => {
|
||||
const navigateToPushTroubleshootView = () => {
|
||||
if (isMasterDetail) {
|
||||
navigation.navigate('ModalStackNavigator', { screen: 'PushTroubleshootView' });
|
||||
} else {
|
||||
|
@ -116,7 +116,7 @@ const UserNotificationPreferencesView = () => {
|
|||
<List.Separator />
|
||||
<List.Item
|
||||
title='Troubleshooting'
|
||||
onPress={goPushTroubleshoot}
|
||||
onPress={navigateToPushTroubleshootView}
|
||||
testID='user-notification-preference-view-troubleshooting'
|
||||
showActionIndicator
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue