From a1214908c2caceb4a6c352850127fddd72aa9d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Thu, 22 Jan 2026 11:07:45 +0100 Subject: [PATCH 1/3] build: Remove unused packag --- pubspec.lock | 8 -------- pubspec.yaml | 1 - 2 files changed, 9 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index bfa9d2d9f..0dc0da76f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1116,14 +1116,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.0" - native_imaging: - dependency: "direct main" - description: - name: native_imaging - sha256: "93573afdcab070011d78a40fc1f69b61967f1f8485d2b81a7a2ee585a85f4c04" - url: "https://pub.dev" - source: hosted - version: "0.2.0" nested: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index f31340bcf..dc076c732 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -55,7 +55,6 @@ dependencies: linkify: ^5.0.0 matrix: ^4.1.0 mime: ^2.0.0 - native_imaging: ^0.2.0 opus_caf_converter_dart: ^1.0.1 package_info_plus: ^8.3.1 path: ^1.9.0 From 2d508da82d27d8e0cf56481d85672c44d89573fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Sun, 18 Jan 2026 14:05:39 +0100 Subject: [PATCH 2/3] feat: Display particle animation on login page --- lib/widgets/layouts/login_scaffold.dart | 56 +++++++++++++++---------- pubspec.lock | 8 ++++ pubspec.yaml | 1 + 3 files changed, 44 insertions(+), 21 deletions(-) diff --git a/lib/widgets/layouts/login_scaffold.dart b/lib/widgets/layouts/login_scaffold.dart index b15f8bafa..98058defa 100644 --- a/lib/widgets/layouts/login_scaffold.dart +++ b/lib/widgets/layouts/login_scaffold.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; +import 'package:particles_network/particles_network.dart'; import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher_string.dart'; @@ -45,33 +46,46 @@ class LoginScaffold extends StatelessWidget { end: Alignment.bottomRight, ), ), - child: Column( + child: Stack( children: [ - const SizedBox(height: 16), - Expanded( - child: Center( - child: Padding( - padding: const EdgeInsets.symmetric(horizontal: 16.0), - child: Material( - borderRadius: BorderRadius.circular(AppConfig.borderRadius), - clipBehavior: Clip.hardEdge, - elevation: theme.appBarTheme.scrolledUnderElevation ?? 4, - shadowColor: theme.appBarTheme.shadowColor, - child: ConstrainedBox( - constraints: isMobileMode - ? const BoxConstraints() - : const BoxConstraints(maxWidth: 480, maxHeight: 640), - child: Scaffold( - key: const Key('LoginScaffold'), - appBar: appBar, - body: SafeArea(child: body), + ParticleNetwork( + particleColor: theme.colorScheme.primary, + lineColor: theme.colorScheme.secondary, + ), + Column( + children: [ + const SizedBox(height: 16), + Expanded( + child: Center( + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: 16.0), + child: Material( + borderRadius: BorderRadius.circular( + AppConfig.borderRadius, + ), + clipBehavior: Clip.hardEdge, + elevation: theme.appBarTheme.scrolledUnderElevation ?? 4, + shadowColor: theme.appBarTheme.shadowColor, + child: ConstrainedBox( + constraints: isMobileMode + ? const BoxConstraints() + : const BoxConstraints( + maxWidth: 480, + maxHeight: 640, + ), + child: Scaffold( + key: const Key('LoginScaffold'), + appBar: appBar, + body: SafeArea(child: body), + ), + ), ), ), ), ), - ), + const _PrivacyButtons(mainAxisAlignment: .center), + ], ), - const _PrivacyButtons(mainAxisAlignment: .center), ], ), ); diff --git a/pubspec.lock b/pubspec.lock index 0dc0da76f..8dd5a7f71 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1172,6 +1172,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.23.3" + particles_network: + dependency: "direct main" + description: + name: particles_network + sha256: "10350bbf446b504acf591b928b1a39ba687237a8895d73e6567abba1a2740c4c" + url: "https://pub.dev" + source: hosted + version: "1.9.0" path: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index dc076c732..118bd9535 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -57,6 +57,7 @@ dependencies: mime: ^2.0.0 opus_caf_converter_dart: ^1.0.1 package_info_plus: ^8.3.1 + particles_network: ^1.9.0 path: ^1.9.0 path_provider: ^2.1.2 permission_handler: ^12.0.1 From 0a5912b20a7ae3959ddbd38ec8f7e347fd618c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Tue, 20 Jan 2026 14:49:04 +0100 Subject: [PATCH 3/3] chore: Use fixed version of fcm shared isolate --- lib/widgets/layouts/login_scaffold.dart | 9 +++++---- scripts/release-ios-testflight.sh | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/widgets/layouts/login_scaffold.dart b/lib/widgets/layouts/login_scaffold.dart index 98058defa..ebf40384f 100644 --- a/lib/widgets/layouts/login_scaffold.dart +++ b/lib/widgets/layouts/login_scaffold.dart @@ -48,10 +48,11 @@ class LoginScaffold extends StatelessWidget { ), child: Stack( children: [ - ParticleNetwork( - particleColor: theme.colorScheme.primary, - lineColor: theme.colorScheme.secondary, - ), + if (!MediaQuery.of(context).disableAnimations) + ParticleNetwork( + particleColor: theme.colorScheme.primary, + lineColor: theme.colorScheme.secondary, + ), Column( children: [ const SizedBox(height: 16), diff --git a/scripts/release-ios-testflight.sh b/scripts/release-ios-testflight.sh index 14e6ea08d..5eef16622 100755 --- a/scripts/release-ios-testflight.sh +++ b/scripts/release-ios-testflight.sh @@ -1,5 +1,5 @@ #!/bin/sh -ve -flutter pub add fcm_shared_isolate:0.1.0 +flutter pub add fcm_shared_isolate:0.2.0 sed -i '' 's,//,,g' lib/utils/background_push.dart flutter clean flutter pub get