fix(ssh page): Fix the issue with calculating the height of the virtual keyboard (#1011)

This commit is contained in:
GT610
2026-01-17 21:15:05 +08:00
committed by GitHub
parent 39a3e0800b
commit 7926a4d4a6

View File

@@ -355,7 +355,7 @@ class SSHPageState extends ConsumerState<SSHPage>
onTapUp: (_) => _virtKeyLongPressTimer?.cancel(),
child: SizedBox(
width: virtKeyWidth,
height: _virtKeysHeight / _virtKeysList.length,
height: _horizonVirtKeys ? _virtKeysHeight : _virtKeysHeight / _virtKeysList.length,
child: Center(child: child),
),
);