dashboard
repositories
activity
search
login
APPS
/
PAILot
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
fix: suppress push notification banner in foreground, show only when backgr...
Matthias Nott
2026-04-05
3233e3046d8922a6f948e0dbd74216d1943df31b
[APPS/PAILot.git]
/
lib
/
services
/
navigate_notifier.dart
1
2
3
4
5
6
7
8
9
10
11
12
/// Bridge between NavigateScreen and ChatScreen's MQTT service.
/// ChatScreen sets the [navigateNotifierProvider] when MQTT is initialized.
/// NavigateScreen reads it to send key presses and screenshot requests.
class NavigateNotifier {
final void Function(String key, String? sessionId) sendKey;
final void Function(String? sessionId) requestScreenshot;
NavigateNotifier({
required this.sendKey,
required this.requestScreenshot,
});
}