Skip to content

Commit 95b2de3

Browse files
M-i-k-e-lethanshar
authored andcommitted
DialogScreen - fix - remove caching (#558)
1 parent 596ee30 commit 95b2de3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

demo/src/screens/componentScreens/DialogScreen.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ export default class DialogScreen extends Component {
1717
constructor(props) {
1818
super(props);
1919

20-
this.content = {};
21-
2220
this.SCROLL_TYPE = {
2321
NONE: 'none',
2422
VERTICAL: 'vertical',
@@ -189,9 +187,6 @@ Scroll: ${scroll}`;
189187

190188
renderContent = () => {
191189
const {scroll, showHeader} = this.state;
192-
if (this.content[scroll + showHeader]) {
193-
return this.content[scroll + showHeader];
194-
}
195190

196191
let content;
197192
switch (scroll) {
@@ -218,7 +213,6 @@ Scroll: ${scroll}`;
218213
</View>
219214
);
220215

221-
this.content[scroll + showHeader] = data;
222216
return data;
223217
};
224218

0 commit comments

Comments
 (0)