Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
MMB: remove "call support" scene
Browse files Browse the repository at this point in the history
We have to start over because the design changed
  • Loading branch information
mrtnzlml committed Jun 13, 2018
1 parent 7fd7239 commit 95287d7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 219 deletions.
3 changes: 1 addition & 2 deletions app/MMB/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
"private": true,
"main": "index.js",
"dependencies": {
"@kiwicom/mobile-assets": "^0",
"@kiwicom/mobile-localization": "^0",
"@kiwicom/mobile-navigation": "^0",
"@kiwicom/mobile-pdf": "^0",
"@kiwicom/mobile-relay": "^0",
"@kiwicom/mobile-shared": "^0",
"@kiwicom/mobile-assets": "^0",
"lodash": "^4.17.10",
"react-native-dash": "^0.0.8",
"react-native-phone-call": "^1.0.4",
"react-native-share": "^1.0.27"
},
"devDependencies": {
Expand Down
39 changes: 0 additions & 39 deletions app/MMB/src/scenes/help/CallMenuItem.js

This file was deleted.

62 changes: 0 additions & 62 deletions app/MMB/src/scenes/help/CallSupport.js

This file was deleted.

99 changes: 0 additions & 99 deletions app/MMB/src/scenes/help/__generated__/CallSupportQuery.graphql.js

This file was deleted.

13 changes: 0 additions & 13 deletions app/MMB/src/scenes/help/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import {
type NavigationType,
} from '@kiwicom/mobile-navigation';

import CallSupport from './CallSupport';

type Props = {|
+navigation: NavigationType,
|};
Expand All @@ -31,10 +29,6 @@ export default class Help extends React.Component<Props> {
this.navigate('mmb.help.help');
};

handleOpenSupport = () => {
this.navigate('mmb.help.support');
};

render = () => (
<ScrollView>
<MenuGroup
Expand All @@ -47,10 +41,6 @@ export default class Help extends React.Component<Props> {
title={<Translation id="mmb.sub_menu.help.help" />}
onPress={this.handleOpenHelp}
/>
<MenuItem
title={<Translation id="mmb.sub_menu.help.call_support" />}
onPress={this.handleOpenSupport}
/>
</MenuGroup>
</ScrollView>
);
Expand All @@ -68,7 +58,4 @@ export const HelpSubmenuItems = {
);
},
},
'mmb.help.support': {
screen: CallSupport,
},
};
4 changes: 0 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5605,10 +5605,6 @@ react-native-pdf@^3.0.8:
crypto-js "^3.1.9-1"
prop-types "^15.5.10"

react-native-phone-call@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/react-native-phone-call/-/react-native-phone-call-1.0.4.tgz#809b7dd27452e429c9deddb4c311997702e333ba"

react-native-read-more-text@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/react-native-read-more-text/-/react-native-read-more-text-1.0.0.tgz#467c1e72bb5607c6881a5f480ccad46d9bc27a43"
Expand Down

0 comments on commit 95287d7

Please sign in to comment.