mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +08:00
fix stupid flutter
This commit is contained in:
parent
d25670c79a
commit
bf6a3a7067
@ -107,7 +107,10 @@ class _DesktopTabPageState extends State<DesktopTabPage>
|
||||
onEnter: (_) async {
|
||||
await shouldBeBlocked(_block, canBeBlocked);
|
||||
},
|
||||
child: FocusScope(child: tabWidget, canRequestFocus: !_block.value));
|
||||
child: _block
|
||||
.value // FocusScope cause id input not working when closing remote
|
||||
? tabWidget
|
||||
: FocusScope(child: tabWidget, canRequestFocus: false));
|
||||
return isMacOS || kUseCompatibleUiMode
|
||||
? Obx(() => widget())
|
||||
: Obx(
|
||||
|
Loading…
Reference in New Issue
Block a user