This commit is contained in:
Manav Rathi
2025-01-31 14:47:47 +05:30
parent 5a8d45fa98
commit b24b249352
7 changed files with 8 additions and 11 deletions

View File

@@ -235,7 +235,7 @@ function ExportDirectory({ exportFolder, changeExportDirectory, exportStage }) {
)}
</>
) : (
<Button color={"accent"} onClick={changeExportDirectory}>
<Button color="accent" onClick={changeExportDirectory}>
{t("select_folder")}
</Button>
)}

View File

@@ -71,7 +71,7 @@ const ExportPendingList = (props: Iprops) => {
/>
<FocusVisibleButton
fullWidth
color={"secondary"}
color="secondary"
onClick={props.onClose}
>
{t("close")}

View File

@@ -964,10 +964,7 @@ const RawExif: React.FC<RawExifProps> = ({
caption={fileName}
onRootClose={handleRootClose}
actionButton={
<CopyButton
code={JSON.stringify(tags)}
color={"secondary"}
/>
<CopyButton code={JSON.stringify(tags)} color="secondary" />
}
/>
<Stack sx={{ gap: 2, py: 3, px: 1 }}>

View File

@@ -1037,7 +1037,7 @@ const ConversionFailedNotification: React.FC<
>
<Paper sx={{ width: "320px" }}>
<Button
color={"secondary"}
color="secondary"
onClick={handleClick}
sx={{
borderRadius: "8px",

View File

@@ -39,7 +39,7 @@ export const Titlebar: React.FC<TitlebarProps> = ({
<Stack direction="row" sx={{ gap: "4px" }}>
{actionButton && actionButton}
{!backIsClose && (
<IconButton onClick={onRootClose} color={"secondary"}>
<IconButton onClick={onRootClose} color="secondary">
<CloseIcon />
</IconButton>
)}

View File

@@ -115,12 +115,12 @@ export const SidebarDrawerTitlebar: React.FC<SidebarDrawerTitlebarProps> = ({
}) => (
<Stack sx={{ gap: "4px" }}>
<SpaceBetweenFlex sx={{ minHeight: "48px" }}>
<IconButton onClick={onClose} color={"primary"}>
<IconButton onClick={onClose} color="primary">
<ArrowBackIcon />
</IconButton>
<Stack direction="row" sx={{ gap: "4px" }}>
{actionButton && actionButton}
<IconButton onClick={onRootClose} color={"secondary"}>
<IconButton onClick={onRootClose} color="secondary">
<CloseIcon />
</IconButton>
</Stack>

View File

@@ -721,7 +721,7 @@ const SuggestionsDialog: React.FC<SuggestionsDialogProps> = ({
fullWidth
disabled={!hasUnsavedChanges}
loading={state.activity == "saving"}
color={"accent"}
color="accent"
onClick={handleSave}
>
{t("save")}