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