From e8891dcdc9ac526e853daabd73b21c5910cb9116 Mon Sep 17 00:00:00 2001 From: Airyz <36567925+Airyzz@users.noreply.github.com> Date: Sat, 3 Aug 2024 17:08:01 +0930 Subject: [PATCH] Update message_input.dart --- commet/lib/ui/molecules/message_input.dart | 8 -------- 1 file changed, 8 deletions(-) diff --git a/commet/lib/ui/molecules/message_input.dart b/commet/lib/ui/molecules/message_input.dart index 5aa01d13..3e1dc774 100644 --- a/commet/lib/ui/molecules/message_input.dart +++ b/commet/lib/ui/molecules/message_input.dart @@ -529,14 +529,6 @@ class MessageInputState extends State { Widget sendMessageButton() { bool canSend = controller.text.isNotEmpty; - Color col = canSend - ? Theme.of(context).colorScheme.primary - : Theme.of(context).colorScheme.secondaryContainer; - - Color iconCol = canSend - ? Theme.of(context).colorScheme.onPrimary - : Theme.of(context).colorScheme.onSecondaryContainer; - double targetValue = canSend ? 1 : 0; return Padding( padding: const EdgeInsets.fromLTRB(8, 0, 8, 0),