Skip to content

TagSpaces is an offline, open source, document manager with tagging support

changing the edit button design

Ilian Sapundshieve9b0d9e82e5b
diff --git a/app/components/EntryContainer.js b/app/components/EntryContainer.js
index f3d45f8f0..3d7f960ec 100644
--- a/app/components/EntryContainer.js
+++ b/app/components/EntryContainer.js
@@ -1019,7 +1019,7 @@ class EntryContainer extends React.Component<Props, State> {
)}
{(this.state.editingSupported && !currentEntry.editMode) && (
<div>
- <IconButton
+ {/* <IconButton
disabled={false}
onClick={this.editFile}
title={i18n.t('core:editFile')}
@@ -1027,7 +1027,19 @@ class EntryContainer extends React.Component<Props, State> {
data-tid="fileContainerEditFile"
>
<EditIcon />
- </IconButton>
+ </IconButton> */}
+ <Button
+ disabled={false}
+ size="small"
+ variant="outlined"
+ color="primary"
+ onClick={this.editFile}
+ title={i18n.t('core:editFile')}
+ aria-label={i18n.t('core:editFile')}
+ data-tid="fileContainerEditFile"
+ >
+ {i18n.t('core:edit')}
+ </Button>
<IconButton
onClick={this.startClosingFile}
title={i18n.t('core:closeEntry')}