use dark bar with light dialogs

This commit is contained in:
nikk gitanes
2021-06-17 20:29:21 +03:00
parent f62d8cc709
commit 5f543b4738
6 changed files with 287 additions and 273 deletions

View File

@@ -270,7 +270,11 @@ export default function AddDialog({
onClick={handleSave}
color='primary'
>
{isLoadingButton ? <CircularProgress style={{ color: 'white' }} size={20} /> : t(isEditMode ? 'Save' : 'Add')}
{isLoadingButton ? (
<CircularProgress style={{ color: 'white' }} size={20} />
) : (
t(isEditMode ? 'Save' : 'Add' )
)}
</Button>
</ButtonWrapper>
</Dialog>