dismiss menu after switching monitor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
667f4c3bd3
commit
d1070b88bb
@ -362,6 +362,9 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
),
|
||||
)),
|
||||
onPressed: () {
|
||||
if (Navigator.canPop(context)) {
|
||||
Navigator.pop(context);
|
||||
}
|
||||
RxInt display = CurrentDisplayState.find(widget.id);
|
||||
if (display.value != i) {
|
||||
bind.sessionSwitchDisplay(id: widget.id, value: i);
|
||||
|
Loading…
Reference in New Issue
Block a user