From 09eee428b0ebaa193dc43e70f6bb82f5ce7e97fe Mon Sep 17 00:00:00 2001 From: Nils Reichardt Date: Tue, 15 Oct 2024 11:39:07 +0200 Subject: [PATCH] Improve layout for light mode Sharecode textfield (#1764) | Before | After | |--------|--------| | ![Simulator Screenshot - iPhone 16 - 2024-10-14 at 22 15 17](https://github.com/user-attachments/assets/c2747696-280f-4a1d-8b73-c76a71aee2a0) | ![Simulator Screenshot - iPhone 16 - 2024-10-14 at 22 15 04](https://github.com/user-attachments/assets/2fa7aef2-267c-4116-8081-1e58eb5edc4f) | --- .../group_join/widgets/group_join_text_field.dart | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/lib/groups/group_join/widgets/group_join_text_field.dart b/app/lib/groups/group_join/widgets/group_join_text_field.dart index 5e951ed32..7f171d530 100644 --- a/app/lib/groups/group_join/widgets/group_join_text_field.dart +++ b/app/lib/groups/group_join/widgets/group_join_text_field.dart @@ -78,7 +78,19 @@ class _GroupJoinTextFieldState extends State { cursorColor: Colors.white, decoration: InputDecoration( labelText: 'Sharecode', + labelStyle: const TextStyle(color: Colors.white), + focusedBorder: Theme.of(context) + .inputDecorationTheme + .focusedBorder + ?.copyWith( + borderSide: const BorderSide( + color: Colors.white, + ), + ), hintText: "z.B. Qb32vF", + hintStyle: Theme.of(context).isDarkTheme + ? null + : const TextStyle(color: Colors.black54), suffixIcon: Padding( padding: const EdgeInsets.only(right: 6), child: IconButton(