Skip to content

Commit 33a3ffa

Browse files
committed
feat(app_configuration): add descriptions to navigation ad settings switches
- Add subtitle to enableNavigationAdsLabel switch - Add subtitle to visibleToRoleLabel switch
1 parent 912fb36 commit 33a3ffa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/app_configuration/widgets/navigation_ad_settings_form.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ class _NavigationAdSettingsFormState extends State<NavigationAdSettingsForm>
130130
children: [
131131
SwitchListTile(
132132
title: Text(l10n.enableNavigationAdsLabel),
133+
subtitle: Text(l10n.enableNavigationAdsDescription),
133134
value: navAdConfig.enabled,
134135
onChanged: (value) {
135136
widget.onConfigChanged(
@@ -212,6 +213,7 @@ class _NavigationAdSettingsFormState extends State<NavigationAdSettingsForm>
212213
children: [
213214
SwitchListTile(
214215
title: Text(l10n.visibleToRoleLabel(role.l10n(context))),
216+
subtitle: Text(l10n.visibleToRoleDescription(role.l10n(context))),
215217
value: roleConfig != null,
216218
onChanged: (value) {
217219
final newVisibleTo =

0 commit comments

Comments
 (0)