update ActionSheet method

This commit is contained in:
ammarahm-ed
2020-12-29 11:25:12 +05:00
parent d92a9775a8
commit ecae9f4ee7
7 changed files with 14 additions and 20 deletions

View File

@@ -46,13 +46,13 @@ class RecoveryKeyDialog extends React.Component {
visible: true,
},
() => {
this.actionSheetRef.current?._setModalVisible(true);
this.actionSheetRef.current?.setModalVisible(true);
},
);
};
close = () => {
this.actionSheetRef.current?._setModalVisible(false);
this.actionSheetRef.current?.setModalVisible(false);
sleep(200).then(() => {
this.setState({
visible: false,