mirror of
https://github.com/mue/mue.git
synced 2026-07-10 22:14:39 +02:00
fix: rename to vertical clock
This commit is contained in:
@@ -100,7 +100,7 @@ export default class TimeSettings extends PureComponent {
|
||||
</SettingsItem>
|
||||
);
|
||||
|
||||
const modernClock = (
|
||||
const verticalClock = (
|
||||
<>
|
||||
<SettingsItem
|
||||
title="Change minute text colour"
|
||||
@@ -127,8 +127,8 @@ export default class TimeSettings extends PureComponent {
|
||||
timeSettings = digitalSettings;
|
||||
} else if (this.state.timeType === 'analogue') {
|
||||
timeSettings = analogSettings;
|
||||
} else if (this.state.timeType === 'modernClock') {
|
||||
timeSettings = modernClock;
|
||||
} else if (this.state.timeType === 'verticalClock') {
|
||||
timeSettings = verticalClock;
|
||||
}
|
||||
|
||||
return (
|
||||
@@ -160,7 +160,7 @@ export default class TimeSettings extends PureComponent {
|
||||
<option value="percentageComplete">
|
||||
{getMessage('modals.main.settings.sections.time.percentage_complete')}
|
||||
</option>
|
||||
<option value="modernClock">Modern Clock</option>
|
||||
<option value="verticalClock">Vertical Clock</option>
|
||||
</Dropdown>
|
||||
</SettingsItem>
|
||||
{timeSettings}
|
||||
|
||||
@@ -191,7 +191,7 @@ export default class Clock extends PureComponent {
|
||||
);
|
||||
}
|
||||
|
||||
if (localStorage.getItem('timeType') === 'modernClock') {
|
||||
if (localStorage.getItem('timeType') === 'verticalClock') {
|
||||
clockHTML = (
|
||||
<>
|
||||
<span className="new-clock clock-container">
|
||||
|
||||
@@ -84,4 +84,8 @@
|
||||
|
||||
.new-clock {
|
||||
line-height: 100%;
|
||||
.seconds {
|
||||
font-size: 0.2em;
|
||||
line-height: 0%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user