Merge pull request #2635 from fufesou/fix_adjust_window

fix show "adjust window"
This commit is contained in:
RustDesk 2022-12-23 23:17:04 +08:00 committed by GitHub
commit 98e8c19b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,8 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
@override
Widget build(BuildContext context) {
// No need to use future builder here.
_updateScreen();
return Align(
alignment: Alignment.topCenter,
child: Obx(() => show.value