Case-insensitive sorting. App version checking

This commit is contained in:
unknown
2021-06-15 12:36:23 +02:00
parent e884c84aa8
commit 9a1ec76ffd
15 changed files with 104 additions and 11 deletions

View File

@@ -5,6 +5,10 @@ import { getConfig, setTheme } from './store/actions';
import { store } from './store/store';
import { Provider } from 'react-redux';
// Utils
import { checkVersion } from './utility';
// Routes
import Home from './components/Home/Home';
import Apps from './components/Apps/Apps';
import Settings from './components/Settings/Settings';
@@ -14,10 +18,14 @@ import NotificationCenter from './components/NotificationCenter/NotificationCent
// Get config pairs from database
store.dispatch<any>(getConfig());
// Set theme
if (localStorage.theme) {
store.dispatch<any>(setTheme(localStorage.theme));
}
// Check for updates
checkVersion();
const App = (): JSX.Element => {
return (
<Provider store={store}>