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