From 6432dd98a6a15122b8290a7b06c9b09226a3c188 Mon Sep 17 00:00:00 2001 From: NaiJi Date: Tue, 3 Sep 2024 00:41:08 +0400 Subject: [PATCH] fix(ui): Remove Expanded wrapper for SSH disabled warning - Resolves: #568 --- lib/ui/pages/users/user_details.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/ui/pages/users/user_details.dart b/lib/ui/pages/users/user_details.dart index f5f0b300..b53246bc 100644 --- a/lib/ui/pages/users/user_details.dart +++ b/lib/ui/pages/users/user_details.dart @@ -260,11 +260,9 @@ class _SshKeysCard extends StatelessWidget { const Divider(height: 0), Padding( padding: const EdgeInsets.all(8.0), - child: Expanded( - child: InfoBox( - text: 'ssh.ssh_disabled_warning'.tr(), - isWarning: true, - ), + child: InfoBox( + text: 'ssh.ssh_disabled_warning'.tr(), + isWarning: true, ), ), ],