fix: change undefined css class
This commit is contained in:
@@ -52,15 +52,15 @@ const BackupsDropZone: FunctionComponent<Props> = ({ application }) => {
|
|||||||
void application.alertService.alert(
|
void application.alertService.alert(
|
||||||
`<strong>${decryptedFileItem.name}</strong> has been successfully decrypted and saved to your chosen directory.`,
|
`<strong>${decryptedFileItem.name}</strong> has been successfully decrypted and saved to your chosen directory.`,
|
||||||
)
|
)
|
||||||
|
setBinaryFile(undefined)
|
||||||
|
setDecryptedFileItem(undefined)
|
||||||
|
setDroppedFile(undefined)
|
||||||
} else if (result === 'failed') {
|
} else if (result === 'failed') {
|
||||||
void application.alertService.alert(
|
void application.alertService.alert(
|
||||||
'Unable to save file to local directory. This may be caused by failure to decrypt, or failure to save the file locally.',
|
'Unable to save file to local directory. This may be caused by failure to decrypt, or failure to save the file locally.',
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
setBinaryFile(undefined)
|
|
||||||
setDecryptedFileItem(undefined)
|
|
||||||
setDroppedFile(undefined)
|
|
||||||
setIsSavingAsDecrypted(false)
|
setIsSavingAsDecrypted(false)
|
||||||
}, [decryptedFileItem, application, binaryFile, fileSystem])
|
}, [decryptedFileItem, application, binaryFile, fileSystem])
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ const FileBackupsDesktop = ({ application, backupsService }: Props) => {
|
|||||||
|
|
||||||
{!backupsEnabled && (
|
{!backupsEnabled && (
|
||||||
<>
|
<>
|
||||||
<HorizontalSeparator classes="mt-5 mb-4" />
|
<HorizontalSeparator classes="mt-2.5 mb-4" />
|
||||||
<Text>File backups are not enabled. Enable to choose where your files are backed up.</Text>
|
<Text>File backups are not enabled. Enable to choose where your files are backed up.</Text>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
@@ -90,7 +90,7 @@ const FileBackupsDesktop = ({ application, backupsService }: Props) => {
|
|||||||
checkmark={false}
|
checkmark={false}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="flex flex-row mt-5">
|
<div className="flex flex-row mt-2.5">
|
||||||
<Button
|
<Button
|
||||||
variant="normal"
|
variant="normal"
|
||||||
label="Open Backups Location"
|
label="Open Backups Location"
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ const LabsPane: FunctionComponent<Props> = ({ application }) => {
|
|||||||
</div>
|
</div>
|
||||||
<Switch onChange={toggleFeature} checked={isEnabled} />
|
<Switch onChange={toggleFeature} checked={isEnabled} />
|
||||||
</div>
|
</div>
|
||||||
{showHorizontalSeparator && <HorizontalSeparator classes="mt-5 mb-3" />}
|
{showHorizontalSeparator && <HorizontalSeparator classes="mt-2.5 mb-3" />}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ const ListedAccountItem: FunctionComponent<Props> = ({ account, showSeparator, a
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{showSeparator && <HorizontalSeparator classes="mt-5 mb-3" />}
|
{showSeparator && <HorizontalSeparator classes="mt-2.5 mb-3" />}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ const ErroredItems: FunctionComponent<Props> = ({ viewControllerManager }: Props
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<HorizontalSeparator classes="mt-5 mb-3" />
|
<HorizontalSeparator classes="mt-2.5 mb-3" />
|
||||||
|
|
||||||
{erroredItems.map((item, index) => {
|
{erroredItems.map((item, index) => {
|
||||||
return (
|
return (
|
||||||
@@ -128,7 +128,7 @@ const ErroredItems: FunctionComponent<Props> = ({ viewControllerManager }: Props
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{index < erroredItems.length - 1 && <HorizontalSeparator classes="mt-5 mb-3" />}
|
{index < erroredItems.length - 1 && <HorizontalSeparator classes="mt-2.5 mb-3" />}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user