Small tweaks to translation label

This commit is contained in:
Pieter Vander Vennet 2021-02-20 03:29:55 +01:00
parent e2d5cefda3
commit dcdb5b9a22
12 changed files with 56 additions and 33 deletions

View file

@ -98,8 +98,7 @@ export default class MoreScreen extends UIElement {
linkButton.push(this.createLinkButton(layout));
}
els.push(new Combine(linkButton))
els.push(new VariableUiElement(
State.state.osmConnection.userDetails.map(userDetails => {
if (userDetails.csCount < Constants.userJourney.themeGeneratorReadOnlyUnlock) {
@ -112,6 +111,9 @@ export default class MoreScreen extends UIElement {
})
));
els.push(new Combine(linkButton))
const customThemesNames = State.state.installedThemes.data ?? [];
if (customThemesNames.length > 0) {