From b584974491039e610cdc5d95aac2692a8a04bffa Mon Sep 17 00:00:00 2001 From: otsmr Date: Sat, 8 Nov 2025 21:44:55 +0100 Subject: [PATCH] flutter analyzer issues --- .../chat_list_components/group_list_item.dart | 3 ++- .../updates/62_database_migration.view.dart | 3 ++- pubspec.yaml | 23 ++++++++----------- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/lib/src/views/chats/chat_list_components/group_list_item.dart b/lib/src/views/chats/chat_list_components/group_list_item.dart index e70ebf8..5531733 100644 --- a/lib/src/views/chats/chat_list_components/group_list_item.dart +++ b/lib/src/views/chats/chat_list_components/group_list_item.dart @@ -221,7 +221,8 @@ class _UserListItem extends State { : Row( children: [ LastMessageTime( - dateTime: widget.group.lastMessageExchange), + dateTime: widget.group.lastMessageExchange, + ), FlameCounterWidget( groupId: widget.group.groupId, prefix: true, diff --git a/lib/src/views/updates/62_database_migration.view.dart b/lib/src/views/updates/62_database_migration.view.dart index b2d0bff..fb3bb01 100644 --- a/lib/src/views/updates/62_database_migration.view.dart +++ b/lib/src/views/updates/62_database_migration.view.dart @@ -44,7 +44,8 @@ class _DatabaseMigrationViewState extends State { Uint8List? avatarSvg; if (oldContact.avatarSvg != null) { avatarSvg = Uint8List.fromList( - gzip.encode(utf8.encode(oldContact.avatarSvg!))); + gzip.encode(utf8.encode(oldContact.avatarSvg!)), + ); } await twonlyDB.contactsDao.insertContact( ContactsCompanion( diff --git a/pubspec.yaml b/pubspec.yaml index f964597..284db00 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -76,25 +76,22 @@ dependencies: web_socket_channel: ^3.0.1 dependency_overrides: - - flutter_secure_storage_darwin: - git: - url: https://github.com/juliansteenbakker/flutter_secure_storage.git - ref: a06ead81809c900e7fc421a30db0adf3b5919139 # from develop - path: flutter_secure_storage_darwin/ - - flutter_android_volume_keydown: - git: - url: https://github.com/yenchieh/flutter_android_volume_keydown.git - branch: fix/lStar-not-found-error - - # hardcoding the mirror mode of the VideCapture to MIRROR_MODE_ON_FRONT_ONLY camera_android_camerax: # path: ../flutter-packages/packages/camera/camera_android_camerax git: url: https://github.com/otsmr/flutter-packages.git path: packages/camera/camera_android_camerax ref: aef58af205a5f3ce6588a5c59bb2e734aab943f0 + flutter_android_volume_keydown: + git: + url: https://github.com/yenchieh/flutter_android_volume_keydown.git + branch: fix/lStar-not-found-error + flutter_secure_storage_darwin: + git: + url: https://github.com/juliansteenbakker/flutter_secure_storage.git + ref: a06ead81809c900e7fc421a30db0adf3b5919139 # from develop + path: flutter_secure_storage_darwin/ + # hardcoding the mirror mode of the VideCapture to MIRROR_MODE_ON_FRONT_ONLY dev_dependencies: build_runner: ^2.4.15