aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/UpdateCheckPrompt.tsx9
-rw-r--r--modern/src/resources/l10n/en.json1
2 files changed, 5 insertions, 5 deletions
diff --git a/modern/src/UpdateCheckPrompt.tsx b/modern/src/UpdateCheckPrompt.tsx
index 315a65ef..a3906304 100644
--- a/modern/src/UpdateCheckPrompt.tsx
+++ b/modern/src/UpdateCheckPrompt.tsx
@@ -1,4 +1,5 @@
-import { Snackbar, Button } from '@mui/material';
+import { Snackbar, IconButton } from '@mui/material';
+import RefreshIcon from '@mui/icons-material/Refresh';
import React from 'react'
import { useTranslation } from './common/components/LocalizationProvider';
import { useAttributePreference } from './common/util/preferences';
@@ -46,9 +47,9 @@ function UpdateCheckPrompt() {
open={needRefresh}
message={t('settingsUpdateAvailable')}
action={(
- <Button onClick={() => updateServiceWorker(true)}>
- {t('settingsReload')}
- </Button>
+ <IconButton color="inherit" onClick={() => updateServiceWorker(true)}>
+ <RefreshIcon />
+ </IconButton>
)}
/>
);
diff --git a/modern/src/resources/l10n/en.json b/modern/src/resources/l10n/en.json
index 510e401f..d2e9c7ca 100644
--- a/modern/src/resources/l10n/en.json
+++ b/modern/src/resources/l10n/en.json
@@ -227,7 +227,6 @@
"settingsTotpEnable": "Enable One-time Password",
"settingsTotpForce": "Force One-time Password",
"settingsServiceWorkerUpdateInterval": "ServiceWorker Update Interval",
- "settingsReload": "Reload",
"settingsUpdateAvailable": "There is an update available.",
"reportTitle": "Reports",
"reportScheduled": "Scheduled Reports",