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 84a93450a..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: @@ -2069,10 +2061,10 @@ packages: dependency: "direct main" description: name: video_player - sha256: "08bfba72e311d48219acad4e191b1f9c27ff8cf928f2c7234874592d9c9d7341" + sha256: "48a7bdaa38a3d50ec10c78627abdbfad863fdf6f0d6e08c7c3c040cfd80ae36f" url: "https://pub.dev" source: hosted - version: "2.11.0" + version: "2.11.1" video_player_android: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 12c7b0f6f..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 @@ -81,7 +80,7 @@ dependencies: universal_html: ^2.3.0 url_launcher: ^6.3.2 video_compress: ^3.1.4 - video_player: ^2.10.1 + video_player: ^2.11.1 wakelock_plus: ^1.3.3 webrtc_interface: ^1.3.0