Skip to content

Commit

Permalink
Update message_input.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Airyzz committed Aug 3, 2024
1 parent f156499 commit e8891dc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions commet/lib/ui/molecules/message_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -529,14 +529,6 @@ class MessageInputState extends State<MessageInput> {
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),
Expand Down

0 comments on commit e8891dc

Please sign in to comment.