aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other/GeofencesPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2023-08-17 13:54:46 -0700
committerGitHub <noreply@github.com>2023-08-17 13:54:46 -0700
commit73e22511723ec99e544c9332820cca4f47dfd4fb (patch)
treec5b9fab653c1fd65463c67188dda5f4af8be6af9 /modern/src/other/GeofencesPage.js
parentf97f41ca860f262ce51fce481b1d4817e9ae9bfb (diff)
parent2e5c04d2f6b98e09767727e1a41a38898ca9acf0 (diff)
downloadtrackermap-web-73e22511723ec99e544c9332820cca4f47dfd4fb.tar.gz
trackermap-web-73e22511723ec99e544c9332820cca4f47dfd4fb.tar.bz2
trackermap-web-73e22511723ec99e544c9332820cca4f47dfd4fb.zip
Merge pull request #1162 from jguthrie100/add_tooltips
Include tooltips for menu actions
Diffstat (limited to 'modern/src/other/GeofencesPage.js')
-rw-r--r--modern/src/other/GeofencesPage.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js
index 6ce7ae8e..4f31c1b3 100644
--- a/modern/src/other/GeofencesPage.js
+++ b/modern/src/other/GeofencesPage.js
@@ -3,6 +3,7 @@ import { useDispatch } from 'react-redux';
import {
Divider, Typography, IconButton, useMediaQuery, Toolbar,
} from '@mui/material';
+import Tooltip from '@mui/material/Tooltip';
import makeStyles from '@mui/styles/makeStyles';
import { useTheme } from '@mui/material/styles';
import Drawer from '@mui/material/Drawer';
@@ -117,7 +118,9 @@ const GeofencesPage = () => {
<label htmlFor="upload-gpx">
<input accept=".gpx" id="upload-gpx" type="file" className={classes.fileInput} onChange={handleFile} />
<IconButton edge="end" component="span" onClick={() => {}}>
- <UploadFileIcon />
+ <Tooltip title={t('sharedUpload')}>
+ <UploadFileIcon />
+ </Tooltip>
</IconButton>
</label>
</Toolbar>