This commit is contained in:
ammarahm-ed
2020-09-27 10:15:19 +05:00
parent c6d41746da
commit eca49fce33
37 changed files with 656 additions and 667 deletions

View File

@@ -32,9 +32,10 @@ class RecoveryKeyDialog extends React.Component {
async componentDidMount() {
eSubscribeEvent(eOpenRecoveryKeyDialog, this.open);
let k = await db.user.key();
if (k) {
this.setState({
key: k,
key: k.key,
});
}
}
@@ -47,7 +48,6 @@ class RecoveryKeyDialog extends React.Component {
saveQRCODE = () => {
this.svg.current?.toDataURL((data) => {
console.log(data);
RNFetchBlob.fs
.writeFile(
RNFetchBlob.fs.dirs.SDCardDir +