浏览代码

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 5 年前
父节点
当前提交
cd1fc5999c
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0
    4
      playground/src/screens/OptionsScreen.js

+ 0
- 4
playground/src/screens/OptionsScreen.js 查看文件

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;