Add various informative alert-boxes

This commit is contained in:
2025-11-09 21:31:03 +01:00
parent c108859899
commit fd5e714074
23 changed files with 426 additions and 130 deletions

View File

@@ -146,6 +146,12 @@ class _SettingsRootPageState extends State<SettingsRootPage> {
title: Text('Refresh messages on app resume'),
onToggle: (value) => AppSettings().update((p) => p.alwaysBackgroundRefreshMessageListOnLifecycleResume = !p.alwaysBackgroundRefreshMessageListOnLifecycleResume),
),
SettingsTile.switchTile(
initialValue: cfg.showInfoAlerts,
leading: Icon(FontAwesomeIcons.solidCircleInfo),
title: Text('Show various helpful info boxes'),
onToggle: (value) => AppSettings().update((p) => p.showInfoAlerts = !p.showInfoAlerts),
),
],
),
SettingsSection(