Nextcloud /themes/*/snappymail/(style.css|preview.png) for #875

This commit is contained in:
the-djmaze 2023-01-26 21:42:14 +01:00
parent 3b43a8bc78
commit 0b421d5a62
3 changed files with 3 additions and 8 deletions

View file

@ -57,12 +57,7 @@ export const
}, clearTimer);
},
convertThemeName = theme => theme
.replace(/@custom$/, '')
.replace(/@nextcloud$/, '')
.replace(/([A-Z])/g, ' $1')
.replace(/[^a-zA-Z0-9]+/g, ' ')
.trim();
convertThemeName = theme => theme.replace(/@[a-z]+$/, '').replace(/([A-Z])/g, ' $1').trim();
ThemeStore.isMobile.subscribe(value => $htmlCL.toggle('rl-mobile', value));