aboutsummaryrefslogtreecommitdiff
path: root/modern/src/MainToolbar.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-27 11:08:26 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-27 11:08:26 -0700
commit26916278758cd5e4abb16aa31e31099e066ea8d5 (patch)
tree5119a65f67cd426ed06b9cb553b7d24ba6dce093 /modern/src/MainToolbar.js
parentd86a3ef187359fbe83a5dd950295868c4ef39d09 (diff)
downloadtrackermap-web-26916278758cd5e4abb16aa31e31099e066ea8d5.tar.gz
trackermap-web-26916278758cd5e4abb16aa31e31099e066ea8d5.tar.bz2
trackermap-web-26916278758cd5e4abb16aa31e31099e066ea8d5.zip
Add geofences screen
Diffstat (limited to 'modern/src/MainToolbar.js')
-rw-r--r--modern/src/MainToolbar.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js
index 63d8efec..064507fb 100644
--- a/modern/src/MainToolbar.js
+++ b/modern/src/MainToolbar.js
@@ -24,6 +24,7 @@ import PersonIcon from '@material-ui/icons/Person';
import NotificationsIcon from '@material-ui/icons/Notifications';
import DescriptionIcon from '@material-ui/icons/Description';
import FolderIcon from '@material-ui/icons/Folder';
+import CreateIcon from '@material-ui/icons/Create';
import ReplayIcon from '@material-ui/icons/Replay';
import BuildIcon from '@material-ui/icons/Build';
import t from './common/localization';
@@ -119,6 +120,12 @@ const MainToolbar = () => {
</ListItemIcon>
<ListItemText primary={t('settingsUser')} />
</ListItem>
+ <ListItem button onClick={() => history.push('/geofences')}>
+ <ListItemIcon>
+ <CreateIcon />
+ </ListItemIcon>
+ <ListItemText primary={t('sharedGeofences')} />
+ </ListItem>
<ListItem button onClick={() => history.push('/settings/notifications')}>
<ListItemIcon>
<NotificationsIcon />