improved push notification settings with health indicators and optimized notification dismissal

This commit is contained in:
MineTec committed 2026-07-16 22:40:33 +02:00
1 parent 8128cede21
commit e625216a90
5 files changed
+223 -49

No files matched your search

@@ -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),