mirror of https://github.com/mue/mue.git
chore: release 6.0.5
This commit is contained in:
parent
f58d74146d
commit
e0820c6b2a
|
@ -4,7 +4,7 @@ on:
|
|||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: "Release tag to submit, i.e 6.0.4"
|
||||
description: "Release tag to submit, i.e 6.0.5"
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"default_locale": "en",
|
||||
"name": "__MSG_name__",
|
||||
"description": "__MSG_description__",
|
||||
"version": "6.0.4",
|
||||
"version": "6.0.5",
|
||||
"homepage_url": "https://muetab.com",
|
||||
"browser_action": {
|
||||
"default_icon": "icons/128x128.png"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"manifest_version": 2,
|
||||
"name": "Mue",
|
||||
"description": "Fast, open and free-to-use new tab page for modern browsers.",
|
||||
"version": "6.0.4",
|
||||
"version": "6.0.5",
|
||||
"homepage_url": "https://muetab.com",
|
||||
"browser_action": {
|
||||
"default_icon": "icons/128x128.png"
|
||||
|
|
|
@ -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": "6.0.4",
|
||||
"version": "6.0.5",
|
||||
"dependencies": {
|
||||
"@eartharoid/i18n": "1.0.2",
|
||||
"@emotion/react": "^11.9.0",
|
||||
|
|
|
@ -9,8 +9,6 @@ import Preview from '../helpers/preview/Preview';
|
|||
|
||||
import EventBus from 'modules/helpers/eventbus';
|
||||
|
||||
// Welcome modal is lazy loaded as the user won't use it every time they open a tab
|
||||
// We used to lazy load the main and feedback modals, but doing so broke the modal open animation on first click
|
||||
import Welcome from './welcome/Welcome';
|
||||
|
||||
export default class Modals extends PureComponent {
|
||||
|
@ -20,13 +18,12 @@ export default class Modals extends PureComponent {
|
|||
mainModal: false,
|
||||
updateModal: false,
|
||||
welcomeModal: false,
|
||||
feedbackModal: false,
|
||||
preview: false
|
||||
};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
if (localStorage.getItem('showWelcome') === 'true' && window.location.search !== '?nointro=true' && this.state.welcomeModal === false) {
|
||||
if (localStorage.getItem('showWelcome') === 'true' && window.location.search !== '?nointro=true') {
|
||||
this.setState({
|
||||
welcomeModal: true
|
||||
});
|
||||
|
|
|
@ -43,10 +43,10 @@ export default class DateSettings extends PureComponent {
|
|||
</>
|
||||
);
|
||||
|
||||
switch (this.state.dateType) {
|
||||
case 'short': dateSettings = shortSettings; break;
|
||||
case 'long': dateSettings = longSettings; break;
|
||||
default: break;
|
||||
if (this.state.dateType === 'long') {
|
||||
dateSettings = longSettings;
|
||||
} else {
|
||||
dateSettings = shortSettings;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
@ -17,7 +17,7 @@ export default class TimeSettings extends PureComponent {
|
|||
render() {
|
||||
const getMessage = (text) => variables.language.getMessage(variables.languagecode, text);
|
||||
|
||||
let timeSettings;
|
||||
let timeSettings = null;
|
||||
|
||||
const digitalOptions = [
|
||||
{
|
||||
|
@ -50,10 +50,10 @@ export default class TimeSettings extends PureComponent {
|
|||
</>
|
||||
);
|
||||
|
||||
switch (this.state.timeType) {
|
||||
case 'digital': timeSettings = digitalSettings; break;
|
||||
case 'analogue': timeSettings = analogSettings; break;
|
||||
default: timeSettings = null; break;
|
||||
if (this.state.timeType === 'digital') {
|
||||
timeSettings = digitalSettings;
|
||||
} else if (this.state.timeType === 'analogue') {
|
||||
timeSettings = analogSettings;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
10
src/index.js
10
src/index.js
|
@ -1,4 +1,4 @@
|
|||
import { createRoot } from 'react-dom/client';
|
||||
import { render } from 'react-dom';
|
||||
|
||||
import App from './App';
|
||||
import variables from 'modules/variables';
|
||||
|
@ -47,7 +47,7 @@ if (localStorage.getItem('stats') === 'true') {
|
|||
variables.keybinds = JSON.parse(localStorage.getItem('keybinds') || '{}');
|
||||
}*/
|
||||
|
||||
const container = document.getElementById('root');
|
||||
const root = createRoot(container);
|
||||
|
||||
root.render(<App/>);
|
||||
render(
|
||||
<App/>,
|
||||
document.getElementById('root')
|
||||
);
|
||||
|
|
|
@ -30,4 +30,4 @@ export const PATREON_USERNAME = 'davidcralph';
|
|||
|
||||
export const OFFLINE_IMAGES = 20;
|
||||
|
||||
export const VERSION = '6.0.4';
|
||||
export const VERSION = '6.0.5';
|
||||
|
|
Loading…
Reference in New Issue