From 011f41a0adbd6fb5f8672b2a024677224284f3f1 Mon Sep 17 00:00:00 2001 From: grummbeer Date: Fri, 17 Mar 2023 19:05:43 +0100 Subject: [PATCH] Unify Input. Remove hardcoded style (address book) --- flutter/lib/common/widgets/address_book.dart | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/flutter/lib/common/widgets/address_book.dart b/flutter/lib/common/widgets/address_book.dart index 88a5aaaa3..85c77d8ed 100644 --- a/flutter/lib/common/widgets/address_book.dart +++ b/flutter/lib/common/widgets/address_book.dart @@ -274,11 +274,7 @@ class _AddressBookState extends State { TextField( controller: idController, inputFormatters: [IDTextInputFormatter()], - decoration: InputDecoration( - isDense: true, - border: OutlineInputBorder(), - errorText: errorMsg), - style: style, + decoration: InputDecoration(errorText: errorMsg), ), Align( alignment: Alignment.centerLeft, @@ -289,11 +285,6 @@ class _AddressBookState extends State { ).marginOnly(top: 8, bottom: 2), TextField( controller: aliasController, - decoration: InputDecoration( - border: OutlineInputBorder(), - isDense: true, - ), - style: style, ), Align( alignment: Alignment.centerLeft, @@ -379,7 +370,6 @@ class _AddressBookState extends State { child: TextField( maxLines: null, decoration: InputDecoration( - border: const OutlineInputBorder(), errorText: msg.isEmpty ? null : translate(msg), ), controller: controller,