We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 596ee30 commit 95b2de3Copy full SHA for 95b2de3
demo/src/screens/componentScreens/DialogScreen.js
@@ -17,8 +17,6 @@ export default class DialogScreen extends Component {
17
constructor(props) {
18
super(props);
19
20
- this.content = {};
21
-
22
this.SCROLL_TYPE = {
23
NONE: 'none',
24
VERTICAL: 'vertical',
@@ -189,9 +187,6 @@ Scroll: ${scroll}`;
189
187
190
188
renderContent = () => {
191
const {scroll, showHeader} = this.state;
192
- if (this.content[scroll + showHeader]) {
193
- return this.content[scroll + showHeader];
194
- }
195
196
let content;
197
switch (scroll) {
@@ -218,7 +213,6 @@ Scroll: ${scroll}`;
218
213
</View>
219
214
);
220
215
221
- this.content[scroll + showHeader] = data;
222
216
return data;
223
217
};
224
0 commit comments