Set background

This commit is contained in:
Nicola Benaglia 2025-05-25 23:19:25 +02:00
parent 9607eddab2
commit f408306450
3 changed files with 3 additions and 11 deletions

View File

@ -1580,7 +1580,7 @@ function App() {
return ( return (
<AuthenticatedContainer <AuthenticatedContainer
sx={{ sx={{
backgroundColor: theme.palette.background.default, backgroundColor: theme.palette.background.paper,
display: 'flex', display: 'flex',
justifyContent: 'flex-end', justifyContent: 'flex-end',
width: 'auto', width: 'auto',

View File

@ -152,6 +152,7 @@ export const DesktopSideBar = ({
)} )}
<LanguageSelector /> <LanguageSelector />
<ThemeSelector /> <ThemeSelector />
</Box> </Box>
); );

View File

@ -1,7 +1,6 @@
import { useContext, useEffect, useMemo, useState } from 'react'; import { useContext, useEffect, useMemo, useState } from 'react';
import isEqual from 'lodash/isEqual'; // TODO Import deep comparison utility import isEqual from 'lodash/isEqual'; // TODO Import deep comparison utility
import { import {
canSaveSettingToQdnAtom,
hasSettingsChangedAtom, hasSettingsChangedAtom,
isUsingImportExportSettingsAtom, isUsingImportExportSettingsAtom,
oldPinnedAppsAtom, oldPinnedAppsAtom,
@ -229,15 +228,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
return ( return (
<> <>
<ButtonBase <ButtonBase onClick={handlePopupClick} disabled={isLoading}>
onClick={handlePopupClick}
disabled={
// !hasChanged ||
// !canSave ||
isLoading
// settingsQdnLastUpdated === -100
}
>
{isDesktop ? ( {isDesktop ? (
<IconWrapper <IconWrapper
disableWidth={disableWidth} disableWidth={disableWidth}