@@ -15,6 +15,7 @@ import LightbulbIcon from '@mui/icons-material/Lightbulb';
1515import InfoIcon from '@mui/icons-material/Info' ;
1616import SettingsIcon from '@mui/icons-material/Settings' ;
1717import AttachMoneyIcon from '@mui/icons-material/AttachMoney' ;
18+ import FolderIcon from '@mui/icons-material/Folder' ;
1819import { useNavigate } from 'react-router-dom' ;
1920import { MainContext } from '../../contexts/MainContextProvider' ;
2021import { openWebSite } from '../../reducers/MainReducer/Actions' ;
@@ -148,12 +149,36 @@ const ClippedDrawer = () => {
148149 { textVisible ? < ListItemText primary = { language . advisor } /> : null }
149150 </ ListItemButton >
150151 </ ListItem >
152+ { /* eslint-disable-next-line no-underscore-dangle */ }
153+ { window . __TAURI__ ? (
154+ < ListItem disablePadding sx = { { display : textVisible ? 'block' : null } } >
155+ < ListItemButton
156+ selected = { pageIndex === 4 }
157+ onClick = { ( ) => navigate ( '/vault' ) }
158+ sx = { {
159+ minHeight : 48 ,
160+ justifyContent : textVisible ? 'initial' : 'center' ,
161+ px : 2.5 ,
162+ } }
163+ >
164+ < ListItemIcon
165+ sx = { {
166+ minWidth : textVisible ? null : 0 ,
167+ mr : textVisible ? null : 'auto' ,
168+ } }
169+ >
170+ < FolderIcon />
171+ </ ListItemIcon >
172+ { textVisible ? < ListItemText primary = { language . vault } /> : null }
173+ </ ListItemButton >
174+ </ ListItem >
175+ ) : null }
151176 </ List >
152177 < Divider />
153178 < List >
154179 < ListItem disablePadding sx = { { display : textVisible ? 'block' : null } } >
155180 < ListItemButton
156- selected = { pageIndex === 4 }
181+ selected = { pageIndex === 5 }
157182 onClick = { ( ) => navigate ( '/settings' ) }
158183 sx = { {
159184 minHeight : 48 ,
@@ -197,7 +222,7 @@ const ClippedDrawer = () => {
197222 </ ListItem >
198223 < ListItem disablePadding sx = { { display : textVisible ? 'block' : null } } >
199224 < ListItemButton
200- selected = { pageIndex === 5 }
225+ selected = { pageIndex === 6 }
201226 onClick = { ( ) => navigate ( '/about' ) }
202227 sx = { {
203228 minHeight : 48 ,
0 commit comments