Fix. Custom client, ui bugs (#7405)

* Fix. Custom client, ui bugs

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* trivial

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2024-03-16 15:37:23 +08:00
committed by GitHub
parent 0808672b6e
commit efd1f24ab2
3 changed files with 7 additions and 3 deletions

View File

@@ -375,7 +375,7 @@ class DesktopTab extends StatelessWidget {
Expanded(
child: GestureDetector(
// custom double tap handler
onTap: showMaximize
onTap: !bind.isIncomingOnly() && showMaximize
? () {
final current = DateTime.now().millisecondsSinceEpoch;
final elapsed = current - _lastClickTime;