diff options
-rw-r--r-- | modern/src/login/LoginPage.js | 6 | ||||
-rw-r--r-- | web/release.html | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/modern/src/login/LoginPage.js b/modern/src/login/LoginPage.js index c108f739..87192a3f 100644 --- a/modern/src/login/LoginPage.js +++ b/modern/src/login/LoginPage.js @@ -4,7 +4,6 @@ import { } from '@mui/material'; import makeStyles from '@mui/styles/makeStyles'; import CloseIcon from '@mui/icons-material/Close'; -import CachedIcon from '@mui/icons-material/Cached'; import LockOpenIcon from '@mui/icons-material/LockOpen'; import { useTheme } from '@mui/material/styles'; import { useDispatch, useSelector } from 'react-redux'; @@ -97,11 +96,6 @@ const LoginPage = () => { return ( <LoginLayout> <div className={classes.options}> - <Tooltip title="Switch to Legacy App"> - <IconButton onClick={() => window.localStorage.setItem('legacyApp', true) || window.location.replace('/')}> - <CachedIcon /> - </IconButton> - </Tooltip> {(window.appInterface || (window.webkit && window.webkit.messageHandlers.appInterface)) && ( <Tooltip title={t('settingsServer')}> <IconButton onClick={() => navigate('/change-server')}> diff --git a/web/release.html b/web/release.html index f91a2b49..1c22da60 100644 --- a/web/release.html +++ b/web/release.html @@ -10,8 +10,6 @@ </head> <body> <div id="spinner"></div> -<script>localStorage.getItem('legacyApp') || location.replace('/modern/');</script> -<div id="update"><a href="javascript:localStorage.removeItem('legacyApp') || location.replace('/modern/');">Switch to Modern App</a></div> <div id="attribution">Powered by <a href="https://www.traccar.org/" target="_blank">Traccar GPS Tracking System</a></div> <script id="loadScript" src="load.js"></script> </body> |