Skip to content

PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.

fix(ui): retain notification feedback after the main merge

baiyuze6229d7c2270a
diff --git a/ui/lib/pages/settings_page.dart b/ui/lib/pages/settings_page.dart
index c37bb20..d027612 100644
--- a/ui/lib/pages/settings_page.dart
+++ b/ui/lib/pages/settings_page.dart
@@ -269,12 +269,13 @@ class _SettingsPageState extends State<SettingsPage> {
try {
await state.requestNotifications();
} catch (e) {
- if (context.mounted)
+ if (context.mounted) {
showToast(
context,
AppState.describeError(e),
error: true,
);
+ }
}
},
child: Text(