Browse Source

Remove Shared Element Screen from Options screen (#6065)

This is probably leftover from the previous Shared Element implementation which was refactored in v5
Guy Carmeli 4 years ago
parent
commit
cd1fc5999c
No account linked to committer's email address
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      playground/src/screens/OptionsScreen.js

+ 0
- 4
playground/src/screens/OptionsScreen.js View File

@@ -14,7 +14,6 @@ const {
14 14
   SHOW_YELLOW_BOX_BTN,
15 15
   SET_REACT_TITLE_VIEW,
16 16
   GOTO_BUTTONS_SCREEN,
17
-  GOTO_SHARED_ELEMENT_SCREEN
18 17
 } = require('../testIDs');
19 18
 
20 19
 class Options extends Component {
@@ -42,7 +41,6 @@ class Options extends Component {
42 41
         <Button label='Show Yellow Box' testID={SHOW_YELLOW_BOX_BTN} onPress={() => console.warn('Yellow Box')} />
43 42
         <Button label='StatusBar' onPress={this.statusBarScreen} />
44 43
         <Button label='Buttons Screen' testID={GOTO_BUTTONS_SCREEN} onPress={this.goToButtonsScreen} />
45
-        <Button label='Shared element' testID={GOTO_SHARED_ELEMENT_SCREEN} onPress={this.goToSharedElementScreen} />
46 44
       </Root>
47 45
     );
48 46
   }
@@ -104,8 +102,6 @@ class Options extends Component {
104 102
   statusBarScreen = () => Navigation.showModal(Screens.StatusBar);
105 103
 
106 104
   goToButtonsScreen = () => Navigation.push(this, Screens.Buttons);
107
-
108
-  goToSharedElementScreen = () => Navigation.push(this, Screens.SharedElement);
109 105
 }
110 106
 
111 107
 module.exports = Options;