fix: settings module layout

This commit is contained in:
Rainer Killinger
2025-08-15 15:47:03 +02:00
parent ce17155cfb
commit 05bf965941
4 changed files with 7 additions and 6 deletions

View File

@@ -5,8 +5,8 @@ const userGroupSetting = {
categories: ['profile'],
defaultValue: 'students',
description:
'The user group the app is going to be used.' +
'This settings for example is getting used for the predefined price category of mensa meals.',
'The user group the app is going to use primarily.' +
' This settings for example is getting used for the predefined price category of mensa meals.',
inputType: SCSettingInputType.SingleChoice,
name: 'group',
order: 1,
@@ -25,7 +25,7 @@ const userGroupSetting = {
},
en: {
description:
'The user group the app is going to be used.' +
'The user group the app is going to use primarily.' +
' This settings for example is getting used for the predefined price category of mensa meals.',
name: 'Group',
values: ['students', 'employees', 'guests'],

View File

@@ -33,7 +33,7 @@
}
<ion-card-content>
@if (!compactView) {
<ion-note>{{ 'description' | thingTranslate: setting | titlecase }}</ion-note>
<ion-note>{{ 'description' | thingTranslate: setting }}</ion-note>
}
@if (isVisible) {
<div>

View File

@@ -304,8 +304,8 @@ describe('SettingsProvider', () => {
},
en: {
description:
'The user group the app is going to be used.' +
'This settings for example is getting used for the predefined price category of mensa meals.',
'The user group the app is going to use primarily.' +
' This settings for example is getting used for the predefined price category of mensa meals.',
name: 'Group',
},
},

View File

@@ -158,4 +158,5 @@ const iconMap = new Map<string, MaterialSymbol>([
[ellipsisHorizontal, SCIcon.more_horiz],
['chevron-down-outline', SCIcon.expand_more],
['arrow_back', SCIcon.arrow_back],
['expand_more', SCIcon.expand_more],
]);