From 24b88819ba86d2c748aa521f0cf15e1419d0ac2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Wed, 25 Jun 2025 10:12:30 +0200 Subject: [PATCH 1/3] build: Upgrade emoji picker flutter --- macos/Podfile.lock | 2 +- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/macos/Podfile.lock b/macos/Podfile.lock index 0c59e46c0..5f5b862f4 100644 --- a/macos/Podfile.lock +++ b/macos/Podfile.lock @@ -178,7 +178,7 @@ SPEC CHECKSUMS: desktop_drop: e0b672a7d84c0a6cbc378595e82cdb15f2970a43 device_info_plus: a56e6e74dbbd2bb92f2da12c64ddd4f67a749041 dynamic_color: b820c000cc68df65e7ba7ff177cb98404ce56651 - emoji_picker_flutter: b9d4f4d08bdf3168fa3827f1290d435083745a14 + emoji_picker_flutter: 51ca408e289d84d1e460016b2a28721ec754fcf7 file_picker: 7584aae6fa07a041af2b36a2655122d42f578c1a file_selector_macos: 6280b52b459ae6c590af5d78fc35c7267a3c4b31 flutter_local_notifications: 7e5a17a1dbc00d83dc10d43c2c4c05f2ceed233c diff --git a/pubspec.lock b/pubspec.lock index 3567b97bb..588a84145 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -346,10 +346,10 @@ packages: dependency: "direct main" description: name: emoji_picker_flutter - sha256: "08567e6f914d36c32091a96cf2f51d2558c47aa2bd47a590dc4f50e42e0965f6" + sha256: "9a44c102079891ea5877f78c70f2e3c6e9df7b7fe0a01757d31f1046eeaa016d" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "4.3.0" emojis: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index ee092c7b6..7f6ed7e3b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: desktop_notifications: ^0.6.3 device_info_plus: ^10.0.1 dynamic_color: ^1.7.0 - emoji_picker_flutter: ^3.1.0 + emoji_picker_flutter: ^4.3.0 emojis: ^0.9.9 #fcm_shared_isolate: ^0.2.0 file_picker: ^8.1.2 From 5a7a76ff3a7b9228dd442c295cb1c60ff0849e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Wed, 25 Jun 2025 10:12:48 +0200 Subject: [PATCH 2/3] build: Use macos-latest for debug ios job --- .github/workflows/integrate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index b5ec4ba2a..e4cef79af 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -82,7 +82,7 @@ jobs: - run: ./flutter/bin/flutter build linux --target-platform linux-${{ matrix.arch }} build_debug_ios: - runs-on: macos-15 + runs-on: macos-latest steps: - uses: actions/checkout@v4 - run: cat .github/workflows/versions.env >> $GITHUB_ENV From 36bcfd8f9bc8b83a299d0b67416500cb1b099b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Wed, 25 Jun 2025 10:13:08 +0200 Subject: [PATCH 3/3] refactor: ignore bubble gradient when using system high contrast mode --- lib/pages/chat/events/message.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/pages/chat/events/message.dart b/lib/pages/chat/events/message.dart index fab82c91b..ced1908de 100644 --- a/lib/pages/chat/events/message.dart +++ b/lib/pages/chat/events/message.dart @@ -461,8 +461,10 @@ class Message extends StatelessWidget { clipBehavior: Clip.antiAlias, child: BubbleBackground( colors: colors, - ignore: - noBubble || !ownMessage, + ignore: noBubble || + !ownMessage || + MediaQuery.of(context) + .highContrast, scrollController: scrollController, child: Container(