diff --git a/lib/pages/chat/chat_input_row.dart b/lib/pages/chat/chat_input_row.dart index eb92c55c1..ae774ca7d 100644 --- a/lib/pages/chat/chat_input_row.dart +++ b/lib/pages/chat/chat_input_row.dart @@ -1,6 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:animations/animations.dart'; import 'package:emoji_picker_flutter/locales/default_emoji_set_locale.dart'; import 'package:matrix/matrix.dart'; @@ -273,27 +272,11 @@ class ChatInputRow extends StatelessWidget { child: IconButton( tooltip: L10n.of(context).emojis, color: theme.colorScheme.onPrimaryContainer, - icon: PageTransitionSwitcher( - transitionBuilder: - ( - Widget child, - Animation primaryAnimation, - Animation secondaryAnimation, - ) { - return SharedAxisTransition( - animation: primaryAnimation, - secondaryAnimation: secondaryAnimation, - transitionType: SharedAxisTransitionType.scaled, - fillColor: Colors.transparent, - child: child, - ); - }, - child: Icon( - controller.showEmojiPicker - ? Icons.keyboard - : Icons.add_reaction_outlined, - key: ValueKey(controller.showEmojiPicker), - ), + icon: Icon( + controller.showEmojiPicker + ? Icons.keyboard + : Icons.add_reaction_outlined, + key: ValueKey(controller.showEmojiPicker), ), onPressed: controller.emojiPickerAction, ), diff --git a/pubspec.lock b/pubspec.lock index a1fce6fa1..14243b0e7 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -25,14 +25,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.13.6" - animations: - dependency: "direct main" - description: - name: animations - sha256: "18938cefd7dcc04e1ecac0db78973761a01e4bc2d6bfae0cfa596bfeac9e96ab" - url: "https://pub.dev" - source: hosted - version: "2.1.1" ansicolor: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index e6aeef11d..7123f797a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,6 @@ environment: flutter: 3.41.4 dependencies: - animations: ^2.1.1 archive: ^4.0.7 async: ^2.11.0 badges: ^3.1.2