improved push notification settings with health indicators and optimized notification dismissal

This commit is contained in:
2026-07-16 22:40:33 +02:00
parent 8128cede21
commit e625216a90
5 changed files with 223 additions and 49 deletions
@@ -20,11 +20,11 @@ import '../../../../widget/details_bottom_sheet.dart';
/// verbatim error), a manual re-register action and — once the chain is
/// operational — a test notification. Loads once on open; the refresh action
/// re-collects on demand (no polling).
void showPushStatusSheet(BuildContext context) {
Future<void> showPushStatusSheet(BuildContext context) {
// Captured here: the sheet outlives this build context's element tree.
final settings = context.read<SettingsCubit>();
final capabilities = context.read<CapabilitiesCubit>();
showDetailsBottomSheet(
return showDetailsBottomSheet(
context,
header: const ListTile(
leading: Icon(Icons.monitor_heart_outlined),