mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
update ActionSheet method
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user