refactor: main code
This commit is contained in:
@@ -168,7 +168,6 @@ body,
|
||||
body[os='mac'] {
|
||||
#content-container {
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-left: 0.5px solid var(--color-border);
|
||||
box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ export async function restore() {
|
||||
const restoreData = await window.api.backup.restore(file.filePath)
|
||||
data = JSON.parse(restoreData)
|
||||
} else {
|
||||
data = JSON.parse(await window.api.decompress(file.content))
|
||||
data = JSON.parse(await window.api.zip.decompress(file.content))
|
||||
}
|
||||
|
||||
await handleData(data)
|
||||
|
||||
Reference in New Issue
Block a user