Compare commits

..

13 Commits
7.1.0 ... 7.1.1

Author SHA1 Message Date
alexsparkes
ea49656ee1 fix: apps adding + removing UI 2024-06-08 17:57:36 +01:00
David Ralph
1338d254cf fix: apps settings showing by default, changelog formatting 2024-06-07 20:45:55 +01:00
David Ralph
14ada80431 fix: sideloaded addon pages not working due to update check 2024-06-07 20:31:19 +01:00
dependabot[bot]
8f2d462a91 chore(deps): bump @sentry/react from 8.7.0 to 8.8.0 (#749)
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 8.7.0 to 8.8.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.7.0...8.8.0)

---
updated-dependencies:
- dependency-name: "@sentry/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-07 09:03:11 +00:00
dependabot[bot]
e7d20b17db chore(deps): bump react-best-gradient-color-picker from 3.0.7 to 3.0.8 (#748)
Bumps [react-best-gradient-color-picker](https://github.com/hxf31891/react-gradient-color-picker) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/hxf31891/react-gradient-color-picker/releases)
- [Commits](https://github.com/hxf31891/react-gradient-color-picker/commits)

---
updated-dependencies:
- dependency-name: react-best-gradient-color-picker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-07 09:02:25 +00:00
David Ralph
ea89d1c961 chore(deps): rollback adm-zip 2024-06-06 22:45:33 +01:00
Isaac
06a8a2bfb2 chore: update lockfile 2024-06-06 21:20:14 +01:00
Isaac
379b81bdbd chore: v7.1.1 2024-06-06 21:14:32 +01:00
Isaac
279d6dd33f fix: improve noscript message 2024-06-06 21:10:58 +01:00
Isaac
8c5a11b8ff fix: bad css on light theme 2024-06-06 21:10:44 +01:00
dependabot[bot]
d8ad2ed35f chore(deps-dev): bump prettier from 3.3.0 to 3.3.1 (#747)
Bumps [prettier](https://github.com/prettier/prettier) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.0...3.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-06 08:20:15 +00:00
David Ralph
2fff03513b chore(manifest): add missing locales for chrome 2024-06-05 14:54:22 +01:00
dependabot[bot]
9d6eae0bf5 chore(deps-dev): bump adm-zip from 0.5.13 to 0.5.14 (#745)
Bumps [adm-zip](https://github.com/cthackers/adm-zip) from 0.5.13 to 0.5.14.
- [Release notes](https://github.com/cthackers/adm-zip/releases)
- [Changelog](https://github.com/cthackers/adm-zip/blob/master/history.md)
- [Commits](https://github.com/cthackers/adm-zip/compare/v0.5.13...v0.5.14)

---
updated-dependencies:
- dependency-name: adm-zip
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-05 08:15:26 +00:00
16 changed files with 155 additions and 107 deletions

View File

@@ -71,8 +71,8 @@
}
@media (prefers-color-scheme: light) {
* {
background-color: #ffffff;
body {
background-color: #fff;
}
.criticalError .criticalError-message {
@@ -96,8 +96,8 @@
</style>
<div class="criticalError">
<div class="criticalError-message">
<h1>A critical error has occurred</h1>
<p>The new tab could not be loaded. Please enable JavaScript and try again.</p>
<h1>JavaScript is required</h1>
<p>The new tab could not be loaded. Please enable JavaScript and refresh the page.</p>
<div class="criticalError-actions">
<a href="https://github.com/mue/mue/issues/new/choose" target="_blank" rel="noreferrer"
>Report Issue</a

View File

@@ -0,0 +1,8 @@
{
"name": {
"message": "Mue"
},
"description": {
"message": "Fast, open and free-to-use new tab page for modern browsers."
}
}

View File

@@ -0,0 +1,8 @@
{
"name": {
"message": "Mue"
},
"description": {
"message": "Fast, open and free-to-use new tab page for modern browsers."
}
}

View File

@@ -0,0 +1,8 @@
{
"name": {
"message": "Mue"
},
"description": {
"message": "Fast, open and free-to-use new tab page for modern browsers."
}
}

View File

@@ -0,0 +1,8 @@
{
"name": {
"message": "Mue"
},
"description": {
"message": "Fast, open and free-to-use new tab page for modern browsers."
}
}

View File

@@ -4,7 +4,7 @@
"default_locale": "en",
"name": "__MSG_name__",
"description": "__MSG_description__",
"version": "7.1.0",
"version": "7.1.1",
"homepage_url": "https://muetab.com",
"action": {
"default_icon": "icons/128x128.png"

View File

@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Mue",
"description": "Fast, open and free-to-use new tab page for modern browsers.",
"version": "7.1.0",
"version": "7.1.1",
"homepage_url": "https://muetab.com",
"action": {
"default_icon": "icons/128x128.png"

View File

@@ -9,7 +9,7 @@
"homepage": "https://muetab.com",
"bugs": "https://github.com/mue/mue/issues/new?assignees=&labels=bug&template=bug-report.md&title=%5BBUG%5D",
"license": "BSD-3-Clause",
"version": "7.1.0",
"version": "7.1.1",
"dependencies": {
"@eartharoid/i18n": "1.2.1",
"@emotion/react": "^11.11.4",
@@ -19,13 +19,13 @@
"@fontsource/montserrat": "5.0.17",
"@muetab/react-sortable-hoc": "^2.0.1",
"@mui/material": "5.15.19",
"@sentry/react": "^8.5.0",
"@sentry/react": "^8.8.0",
"embla-carousel-autoplay": "8.1.3",
"embla-carousel-react": "8.1.3",
"fast-blurhash": "^1.1.2",
"image-conversion": "^2.1.1",
"react": "^18.3.1",
"react-best-gradient-color-picker": "^3.0.7",
"react-best-gradient-color-picker": "^3.0.8",
"react-clock": "5.0.0",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
@@ -38,12 +38,12 @@
"@commitlint/config-conventional": "^19.2.2",
"@eartharoid/deep-merge": "^0.0.2",
"@vitejs/plugin-react-swc": "^3.6.0",
"adm-zip": "^0.5.13",
"adm-zip": "0.5.12",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"husky": "^9.0.11",
"prettier": "^3.3.0",
"prettier": "^3.3.1",
"sass": "^1.77.4",
"stylelint": "^16.6.0",
"stylelint-config-standard-scss": "^13.1.0",

122
pnpm-lock.yaml generated
View File

@@ -30,8 +30,8 @@ dependencies:
specifier: 5.15.19
version: 5.15.19(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(react-dom@18.3.1)(react@18.3.1)
'@sentry/react':
specifier: ^8.5.0
version: 8.7.0(react@18.3.1)
specifier: ^8.8.0
version: 8.8.0(react@18.3.1)
embla-carousel-autoplay:
specifier: 8.1.3
version: 8.1.3(embla-carousel@8.1.3)
@@ -48,8 +48,8 @@ dependencies:
specifier: ^18.3.1
version: 18.3.1
react-best-gradient-color-picker:
specifier: ^3.0.7
version: 3.0.7(react-dom@18.3.1)(react@18.3.1)
specifier: ^3.0.8
version: 3.0.8(react-dom@18.3.1)(react@18.3.1)
react-clock:
specifier: 5.0.0
version: 5.0.0(react-dom@18.3.1)(react@18.3.1)
@@ -83,8 +83,8 @@ devDependencies:
specifier: ^3.6.0
version: 3.7.0(vite@5.2.12)
adm-zip:
specifier: ^0.5.13
version: 0.5.13
specifier: 0.5.12
version: 0.5.12
eslint:
specifier: ^8.57.0
version: 8.57.0
@@ -98,8 +98,8 @@ devDependencies:
specifier: ^9.0.11
version: 9.0.11
prettier:
specifier: ^3.3.0
version: 3.3.0
specifier: ^3.3.1
version: 3.3.1
sass:
specifier: ^1.77.4
version: 1.77.4
@@ -2536,89 +2536,89 @@ packages:
resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==}
dev: true
/@sentry-internal/browser-utils@8.7.0:
resolution: {integrity: sha512-RFBK1sYBwV5qGMEwWF0rjOTqQpp4/SvE+qHkOJNRUTVYmfjM+Y9lcxwn4B6lu3aboxePpBw/i1PlP6XwX4UnGA==}
/@sentry-internal/browser-utils@8.8.0:
resolution: {integrity: sha512-yE4khknnGpAxy3TeAD9TU1eUqa0GUJ2xluIAsHKkL+RXg3AgEssMO3DBDUbpHp+QANIjzKmZIXtbdTV+1P26aQ==}
engines: {node: '>=14.18'}
dependencies:
'@sentry/core': 8.7.0
'@sentry/types': 8.7.0
'@sentry/utils': 8.7.0
'@sentry/core': 8.8.0
'@sentry/types': 8.8.0
'@sentry/utils': 8.8.0
dev: false
/@sentry-internal/feedback@8.7.0:
resolution: {integrity: sha512-qcGtWCtRB4eP7NVQoxW936oPkU4qu9otMLYELPGmOJPnuAG0lujlJXW7BucaM7ADyJgJTE75hG849bHecfnbmQ==}
/@sentry-internal/feedback@8.8.0:
resolution: {integrity: sha512-mybzWx99DuCJxYCVPx12NHVSVbSDF1goEo+rhDGYY8kqyn+snoVBLQtsSdDXYwZyssS1G7Gh6WhX+JVDKcQO9A==}
engines: {node: '>=14.18'}
dependencies:
'@sentry/core': 8.7.0
'@sentry/types': 8.7.0
'@sentry/utils': 8.7.0
'@sentry/core': 8.8.0
'@sentry/types': 8.8.0
'@sentry/utils': 8.8.0
dev: false
/@sentry-internal/replay-canvas@8.7.0:
resolution: {integrity: sha512-FOnvBPbq6MJVHPduc0hcsdE3PeeovQ2z5WJnZDGhvp/Obehxqe+XgX7K/595vRIknv4EokRn/3Kw0mFwG8E+ZQ==}
/@sentry-internal/replay-canvas@8.8.0:
resolution: {integrity: sha512-LUoPi38Y8VRnxorIMmKLpfpf+jguhOsovMsZ3ZLc+FvMER62IIvSt4GKK4ARmUBX7+v3r61fdUWqxFs1j3uUTg==}
engines: {node: '>=14.18'}
dependencies:
'@sentry-internal/replay': 8.7.0
'@sentry/core': 8.7.0
'@sentry/types': 8.7.0
'@sentry/utils': 8.7.0
'@sentry-internal/replay': 8.8.0
'@sentry/core': 8.8.0
'@sentry/types': 8.8.0
'@sentry/utils': 8.8.0
dev: false
/@sentry-internal/replay@8.7.0:
resolution: {integrity: sha512-bQzOkWplaWTe3u+aDBhxWY3Qy0aT7ss2A3VR8iC6N8ZIEP9PxqyJwTNoouhinfgmlnCguI7RDOO4f3r3e2M80Q==}
/@sentry-internal/replay@8.8.0:
resolution: {integrity: sha512-gMRWcjpiLJl03JB4rTMN2I4HOOJ6z611kdhUBYc+RRAue13A6uCSIPElgvlCMREkVmr/8eUKrCcIrpqj9PDJ4w==}
engines: {node: '>=14.18'}
dependencies:
'@sentry-internal/browser-utils': 8.7.0
'@sentry/core': 8.7.0
'@sentry/types': 8.7.0
'@sentry/utils': 8.7.0
'@sentry-internal/browser-utils': 8.8.0
'@sentry/core': 8.8.0
'@sentry/types': 8.8.0
'@sentry/utils': 8.8.0
dev: false
/@sentry/browser@8.7.0:
resolution: {integrity: sha512-4EEp+PlcktsMN0p+MdCPl/lghTkq7eOtZjQG9NGhWzfyWrJ3tuL1nsDr2SSivJ1V277F01KtKYo6BFwP2NtBZA==}
/@sentry/browser@8.8.0:
resolution: {integrity: sha512-TkmbjV9pGpQ+OfUtIE8DaU467w73NqPTX/w/+241VlKpE9HbfranMG0N8Bibgt59GwoNIiC0NhmKaMTZg79elQ==}
engines: {node: '>=14.18'}
dependencies:
'@sentry-internal/browser-utils': 8.7.0
'@sentry-internal/feedback': 8.7.0
'@sentry-internal/replay': 8.7.0
'@sentry-internal/replay-canvas': 8.7.0
'@sentry/core': 8.7.0
'@sentry/types': 8.7.0
'@sentry/utils': 8.7.0
'@sentry-internal/browser-utils': 8.8.0
'@sentry-internal/feedback': 8.8.0
'@sentry-internal/replay': 8.8.0
'@sentry-internal/replay-canvas': 8.8.0
'@sentry/core': 8.8.0
'@sentry/types': 8.8.0
'@sentry/utils': 8.8.0
dev: false
/@sentry/core@8.7.0:
resolution: {integrity: sha512-Sq/46B+5nWmgnCD6dEMZ6HTkKbV/KAdgaSvT8oXDb9OWoPy1jJ/gbLrhLs62KbjuDQk4/vWnOgHiKQbcslSzMw==}
/@sentry/core@8.8.0:
resolution: {integrity: sha512-SnQ42rOuUO03WvhS+2aogKhEzCW9cxpnpPzs2obxnS04KoAz7VL3oYyIwiACrRTlKpwdb9y6vuO89fDvgqPQbA==}
engines: {node: '>=14.18'}
dependencies:
'@sentry/types': 8.7.0
'@sentry/utils': 8.7.0
'@sentry/types': 8.8.0
'@sentry/utils': 8.8.0
dev: false
/@sentry/react@8.7.0(react@18.3.1):
resolution: {integrity: sha512-JFo8QW8JB4eaFC8RdkOBO96JvlGgstywmyMZ39qWfFbD735vGl8PnOa0AnrC/5Auc86dZ98/I4OEPboqUE9q1w==}
/@sentry/react@8.8.0(react@18.3.1):
resolution: {integrity: sha512-7BZyYQFJCRpWz5dn5SZxrhMU8hHH7eBC7BqNMhtsbctP/ObK6BEt3YJUDjTslkXZMOCXfN9ZdBgYEAGc7EPhFQ==}
engines: {node: '>=14.18'}
peerDependencies:
react: ^16.14.0 || 17.x || 18.x || 19.x
dependencies:
'@sentry/browser': 8.7.0
'@sentry/core': 8.7.0
'@sentry/types': 8.7.0
'@sentry/utils': 8.7.0
'@sentry/browser': 8.8.0
'@sentry/core': 8.8.0
'@sentry/types': 8.8.0
'@sentry/utils': 8.8.0
hoist-non-react-statics: 3.3.2
react: 18.3.1
dev: false
/@sentry/types@8.7.0:
resolution: {integrity: sha512-11KLOKumP6akugVGLvSoEig+JlP0ZEzW3nN9P+ppgdIx9HAxMIh6UvumbieG4/DWjAh2kh6NPNfUw3gk2Gfq1A==}
/@sentry/types@8.8.0:
resolution: {integrity: sha512-2EOkyHoSOJyCRCsK/O6iA3wyELkRApfY7jNxsC/Amgb5ftuGl/rGO6B4dNKjMJNLNvlkEqZIANoUKOcClBH6yw==}
engines: {node: '>=14.18'}
dev: false
/@sentry/utils@8.7.0:
resolution: {integrity: sha512-aWmcbSoOmrbzll/FkNQFJcCtLAuJLvTYbRKiCSkV3FScA7UaA742HkTZAPFiioALFIESWk/fcGZqtN0s4I281Q==}
/@sentry/utils@8.8.0:
resolution: {integrity: sha512-agLqo9KlXacj7NOcdYZUYqTKlFcPXdTzCnC2u9J1LxDjru9cogbiw6yyDtxBg3kpgYZubfOPz/7F2z9wCjK1cw==}
engines: {node: '>=14.18'}
dependencies:
'@sentry/types': 8.7.0
'@sentry/types': 8.8.0
dev: false
/@swc/core-darwin-arm64@1.5.22:
@@ -2982,9 +2982,9 @@ packages:
hasBin: true
dev: true
/adm-zip@0.5.13:
resolution: {integrity: sha512-4U51tTl9J8UVEcuKGr6zRzY95tWoAa9l+ureGBNmsfleszjZblm5NyEEL/ZQxkhi86co5mZhSvL2T7gkZ6feYQ==}
engines: {node: '>=12.0'}
/adm-zip@0.5.12:
resolution: {integrity: sha512-6TVU49mK6KZb4qG6xWaaM4C7sA/sgUMLy/JYMOzkcp3BvVLpW0fXDFQiIzAuxFCt/2+xD7fNIiPFAoLZPhVNLQ==}
engines: {node: '>=6.0'}
dev: true
/ajv@6.12.6:
@@ -5382,8 +5382,8 @@ packages:
engines: {node: '>= 0.8.0'}
dev: true
/prettier@3.3.0:
resolution: {integrity: sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==}
/prettier@3.3.1:
resolution: {integrity: sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==}
engines: {node: '>=14'}
hasBin: true
dev: true
@@ -5415,8 +5415,8 @@ packages:
'@types/node': 10.17.60
dev: true
/react-best-gradient-color-picker@3.0.7(react-dom@18.3.1)(react@18.3.1):
resolution: {integrity: sha512-yNlPbKvSZOD8XCbPPqiKz30OUeZrY8GZfu/CSPsFSRrzjMPBMNXbDDspQ6dknXI4Tkc5dhOMiBjjyCFSa+w0+Q==}
/react-best-gradient-color-picker@3.0.8(react-dom@18.3.1)(react@18.3.1):
resolution: {integrity: sha512-dq9VYxx1TtrvzKBHX3DYmuyMJY+F3/uB16AhmLag3hqMxULm2PZubmdQp9JB8Bg20Irg+E5YD6bIIw2GUo44kQ==}
peerDependencies:
'@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0

View File

@@ -21,4 +21,8 @@
img {
max-width: 95%;
}
.changelogAt {
text-decoration: none;
}
}

View File

@@ -26,4 +26,4 @@ export const TWITTER_HANDLE = 'getmue';
export const DISCORD_SERVER = 'zv8C9F8';
export const OPENCOLLECTIVE_USERNAME = 'mue';
export const VERSION = '7.1.0';
export const VERSION = '7.1.1';

View File

@@ -158,12 +158,15 @@ class ItemPage extends PureComponent {
</div>
);
const dateObj = new Date(this.props.data.data.updated_at);
const formattedDate = new Intl.DateTimeFormat(shortLocale, {
year: 'numeric',
month: 'long',
day: '2-digit',
}).format(dateObj);
let dateObj, formattedDate;
if (this.props.data.data.updated_at) {
dateObj = new Date(this.props.data.data.updated_at);
formattedDate = new Intl.DateTimeFormat(shortLocale, {
year: 'numeric',
month: 'long',
day: '2-digit',
}).format(dateObj);
}
return (
<>
@@ -292,11 +295,12 @@ class ItemPage extends PureComponent {
{variables.getMessage('modals.main.marketplace.product.details')}
</span>
<div className="moreInfo">
{moreInfoItem(
<MdCalendarMonth />,
variables.getMessage('modals.main.marketplace.product.updated_at'),
formattedDate,
)}
{this.props.data.data.updated_at &&
moreInfoItem(
<MdCalendarMonth />,
variables.getMessage('modals.main.marketplace.product.updated_at'),
formattedDate,
)}
{this.props.data.data.quotes &&
moreInfoItem(
<MdFormatQuote />,

View File

@@ -23,21 +23,26 @@ class Changelog extends PureComponent {
throw new Error('Input must be a string');
}
// Replace list items
text = text.replace(/^\* (.*$)/gm, '<li>$1</li>');
// Wrap list items in <ul></ul>
text = text.replace(/((<li>.*<\/li>\s*)+)/g, '<ul>$1</ul>');
// Replace other markdown syntax
// Replace markdown syntax
text = text
.replace(/\*\*(.*?)\*\*/g, '<strong>$1</strong>')
.replace(/^## (.*$)/gm, '<span class="title">$1</span>')
.replace(
/((http|https):\/\/[^\s]+)/g,
'<a href="$1" target="_blank" rel="noopener noreferrer">$1</a>',
)
// resolve @ to github user link
.replace(
/@([a-zA-Z0-9-_]+)/g,
'<a href="https://github.com/$1" target="_blank" class="changelogAt">@$1</a>',
);
// Replace list items
text = text.replace(/^\* (.*$)/gm, '<li>$1</li>');
// Wrap list items in <ul></ul>
text = text.replace(/((<li>.*<\/li>\s*)+)/g, '<ul>$1</ul>');
return text;
};
@@ -49,14 +54,18 @@ class Changelog extends PureComponent {
},
);
// get the release which tag_name is the same as the current version
const data = await releases.json();
const release = data.find((release) => release.tag_name === variables.constants.VERSION);
if (this.controller.signal.aborted === true) {
return;
}
// get the release which tag_name is the same as the current version
const data = await releases.json();
let release = data.find((release) => release.tag_name === variables.constants.VERSION);
if (!release) {
release = data[0];
}
// request the changelog
const res = await fetch(release.url, { signal: this.controller.signal });

View File

@@ -1,6 +1,6 @@
import variables from 'config/variables';
import { useState, memo } from 'react';
import { useState } from 'react';
import Modal from 'react-modal';
import { MdAddLink } from 'react-icons/md';
@@ -11,9 +11,9 @@ import { Button } from 'components/Elements';
import { Row, Content, Action } from 'components/Layout/Settings/Item';
import { getTitleFromUrl, isValidUrl } from 'utils/links';
import { QuickLinks } from 'features/quicklinks';
import { QuickLink } from 'features/quicklinks/options/QuickLink';
function AppsOptions(appsEnabled) {
function AppsOptions({ appsEnabled }) {
const [appsModalInfo, setAppsModalInfo] = useState({
newLink: false,
edit: false,
@@ -126,7 +126,7 @@ function AppsOptions(appsEnabled) {
<div className="messagesContainer">
{appsModalInfo.items.map((item, i) => (
<QuickLinks
<QuickLink
key={i}
item={item}
startEditLink={() => startEditLink(item)}
@@ -160,5 +160,4 @@ function AppsOptions(appsEnabled) {
);
}
const MemorizedAppsOptions = memo(AppsOptions);
export { MemorizedAppsOptions as default, MemorizedAppsOptions as AppsOptions };
export { AppsOptions as default, AppsOptions };

View File

@@ -16,7 +16,7 @@ function NavbarOptions() {
const [showRefreshOptions, setShowRefreshOptions] = useState(
localStorage.getItem('refresh') === 'true',
);
const [appsEnabled, setAppsEnabled] = useState(localStorage.getItem('appsEnabled') === 'true');
const [appsEnabled, setAppsEnabled] = useState(localStorage.getItem('appsEnabled') === 'true' || false);
const NAVBAR_SECTION = 'modals.main.settings.sections.appearance.navbar';

View File

@@ -147,9 +147,9 @@ body {
/* light theme critical error */
@media (prefers-color-scheme: dark) {
/** {
background-color: #000000 !important;
} */
body {
background-color: #000;
}
.criticalError {
.criticalError-message {
@@ -173,8 +173,8 @@ body {
}
@media (prefers-color-scheme: light) {
* {
background-color: #fff !important;
body {
background-color: #fff;
}
.criticalError {