mirror of
https://github.com/mue/mue.git
synced 2026-07-22 08:17:28 +02:00
fix: tab name language, favourite marketplace backgrounds, birthday greeting message etc
This commit is contained in:
@@ -82,12 +82,14 @@ export default class Greeting extends PureComponent {
|
||||
}
|
||||
}
|
||||
|
||||
if (custom === 'false') {
|
||||
const birthday = localStorage.getItem('birthdayenabled');
|
||||
|
||||
if (custom === 'false' && birthday !== 'true') {
|
||||
name = name.replace(',', '');
|
||||
}
|
||||
|
||||
// Birthday
|
||||
if (localStorage.getItem('birthdayenabled') === 'true') {
|
||||
if (birthday === 'true') {
|
||||
const birth = new Date(localStorage.getItem('birthday'));
|
||||
|
||||
if (birth.getDate() === now.getDate() && birth.getMonth() === now.getMonth()) {
|
||||
|
||||
Reference in New Issue
Block a user