From 97bd83f18fef36c99ec4d19fed4394f13a32f5fd Mon Sep 17 00:00:00 2001 From: grummbeer Date: Fri, 17 Mar 2023 17:32:34 +0100 Subject: [PATCH] Unify Input. Remove hardcoded style (rdp) --- flutter/lib/common/widgets/peer_card.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/flutter/lib/common/widgets/peer_card.dart b/flutter/lib/common/widgets/peer_card.dart index 124057662..90946ca74 100644 --- a/flutter/lib/common/widgets/peer_card.dart +++ b/flutter/lib/common/widgets/peer_card.dart @@ -1157,7 +1157,6 @@ void _rdpDialog(String id) async { ], decoration: InputDecoration( labelText: isDesktop ? null : translate('Port'), - border: isDesktop ? const OutlineInputBorder() : null, hintText: '3389'), controller: portController, autofocus: true, @@ -1178,8 +1177,7 @@ void _rdpDialog(String id) async { Expanded( child: TextField( decoration: InputDecoration( - labelText: isDesktop ? null : translate('Username'), - border: isDesktop ? const OutlineInputBorder() : null), + labelText: isDesktop ? null : translate('Username')), controller: userController, ), ), @@ -1200,8 +1198,6 @@ void _rdpDialog(String id) async { obscureText: secure.value, decoration: InputDecoration( labelText: isDesktop ? null : translate('Password'), - border: - isDesktop ? const OutlineInputBorder() : null, suffixIcon: IconButton( onPressed: () => secure.value = !secure.value, icon: Icon(secure.value