Skip to content

Commit b25073e

Browse files
committed
chore(deps): bump flutter to 3.41.1 and update dependencies
1 parent 272332e commit b25073e

File tree

9 files changed

+47
-30
lines changed

9 files changed

+47
-30
lines changed

.github/workflows/release_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- "v*"
77

88
env:
9-
CI_FLUTTER_VERSION: "3.41.0" # Do NOT remove or rename the variable otherwise will break FDroid workflows.
9+
CI_FLUTTER_VERSION: "3.41.1" # Do NOT remove or rename the variable otherwise will break FDroid workflows.
1010
CI_RUST_VERSION: "1.83.0" # Keep a same rust version on all compile targets.
1111

1212
jobs:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
CI_FLUTTER_VERSION: "3.41.0"
11+
CI_FLUTTER_VERSION: "3.41.1"
1212

1313
jobs:
1414
flutter_test:

.github/workflows/test_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ on:
3838
default: true
3939

4040
env:
41-
CI_FLUTTER_VERSION: "3.41.0"
41+
CI_FLUTTER_VERSION: "3.41.1"
4242
CI_RUST_VERSION: "1.83.0"
4343

4444
jobs:

lib/app.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,13 @@ class _AppState extends State<App> with WindowListener, LoggerMixin {
180180
tr.notice.detail.bm(noticeCount: notice, pmCount: personalMessage, bmCount: broadcastMessage, msg: msg),
181181
};
182182
if (isAndroid) {
183-
await flnp.show(0, tr.notice.title, noticeData, nd, payload: LocalNoticeKeys.openNotification);
183+
await flnp.show(
184+
id: 0,
185+
title: tr.notice.title,
186+
body: noticeData,
187+
notificationDetails: nd,
188+
payload: LocalNoticeKeys.openNotification,
189+
);
184190
}
185191
}
186192

lib/features/home/view/home_page.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,13 @@ class _HomePageState extends State<HomePage> with LoggerMixin {
135135
tr.notice.detail.bm(noticeCount: notice, pmCount: personalMessage, bmCount: broadcastMessage, msg: msg),
136136
};
137137
if (isAndroid) {
138-
await flnp.show(0, tr.notice.title, noticeData, nd, payload: LocalNoticeKeys.openNotification);
138+
await flnp.show(
139+
id: 0,
140+
title: tr.notice.title,
141+
body: noticeData,
142+
notificationDetails: nd,
143+
payload: LocalNoticeKeys.openNotification,
144+
);
139145
}
140146
}
141147

lib/main.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ Future<void> _boot(List<String> args) async {
7878
await flnp.initialize(
7979
// Drawable ic_launcher_foreground_no_transform is shrunk when building in CI.
8080
// The default one is compat but ok.
81-
const InitializationSettings(android: AndroidInitializationSettings('@drawable/ic_launcher_foreground')),
81+
settings: const InitializationSettings(
82+
android: AndroidInitializationSettings('@drawable/ic_launcher_foreground'),
83+
),
8284
onDidReceiveNotificationResponse: onLocalNotificationOpened,
8385
);
8486
if (autoSyncNoticeSeconds > 0) {

lib/utils/show_bottom_sheet.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ Future<T?> showCustomBottomSheet<T>({
4848
swipeDismissible: true,
4949
// Here we do not have a context carrying expected padding values.
5050
// Set the maximum height to 80% to avoid covered by status bar.
51-
viewportPadding: EdgeInsets.only(top: size.height * 0.2),
51+
viewportBuilder: (context, child) => Padding(
52+
padding: EdgeInsets.only(top: size.height * 0.2),
53+
child: child,
54+
),
5255
builder: (context) {
5356
return ClipRRect(
5457
borderRadius: const BorderRadius.only(topLeft: Radius.circular(24), topRight: Radius.circular(24)),

pubspec.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -695,34 +695,34 @@ packages:
695695
dependency: "direct main"
696696
description:
697697
name: flutter_local_notifications
698-
sha256: "19ffb0a8bb7407875555e5e98d7343a633bb73707bae6c6a5f37c90014077875"
698+
sha256: "2b50e938a275e1ad77352d6a25e25770f4130baa61eaf02de7a9a884680954ad"
699699
url: "https://pub.dev"
700700
source: hosted
701-
version: "19.5.0"
701+
version: "20.1.0"
702702
flutter_local_notifications_linux:
703703
dependency: transitive
704704
description:
705705
name: flutter_local_notifications_linux
706-
sha256: e3c277b2daab8e36ac5a6820536668d07e83851aeeb79c446e525a70710770a5
706+
sha256: dce0116868cedd2cdf768af0365fc37ff1cbef7c02c4f51d0587482e625868d0
707707
url: "https://pub.dev"
708708
source: hosted
709-
version: "6.0.0"
709+
version: "7.0.0"
710710
flutter_local_notifications_platform_interface:
711711
dependency: transitive
712712
description:
713713
name: flutter_local_notifications_platform_interface
714-
sha256: "277d25d960c15674ce78ca97f57d0bae2ee401c844b6ac80fcd972a9c99d09fe"
714+
sha256: "23de31678a48c084169d7ae95866df9de5c9d2a44be3e5915a2ff067aeeba899"
715715
url: "https://pub.dev"
716716
source: hosted
717-
version: "9.1.0"
717+
version: "10.0.0"
718718
flutter_local_notifications_windows:
719719
dependency: transitive
720720
description:
721721
name: flutter_local_notifications_windows
722-
sha256: "8d658f0d367c48bd420e7cf2d26655e2d1130147bca1eea917e576ca76668aaf"
722+
sha256: e97a1a3016512437d9c0b12fae7d1491c3c7b9aa7f03a69b974308840656b02a
723723
url: "https://pub.dev"
724724
source: hosted
725-
version: "1.0.3"
725+
version: "2.0.1"
726726
flutter_localizations:
727727
dependency: "direct main"
728728
description: flutter
@@ -1140,10 +1140,10 @@ packages:
11401140
dependency: "direct main"
11411141
description:
11421142
name: native_flutter_proxy
1143-
sha256: "7ef24d6e6b7500ce58a1e91d93c57d161719d06ad419225a4090869930097416"
1143+
sha256: "35f1a3c8993ad4dfc0ed67637fb4562ee6c307b785d27abc04cd6a21abcab014"
11441144
url: "https://pub.dev"
11451145
source: hosted
1146-
version: "0.2.3"
1146+
version: "0.3.1"
11471147
native_toolchain_c:
11481148
dependency: transitive
11491149
description:
@@ -1308,10 +1308,10 @@ packages:
13081308
dependency: transitive
13091309
description:
13101310
name: petitparser
1311-
sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1"
1311+
sha256: "91bd59303e9f769f108f8df05e371341b15d59e995e6806aefab827b58336675"
13121312
url: "https://pub.dev"
13131313
source: hosted
1314-
version: "7.0.1"
1314+
version: "7.0.2"
13151315
photo_view:
13161316
dependency: "direct main"
13171317
description:
@@ -1649,10 +1649,10 @@ packages:
16491649
dependency: "direct main"
16501650
description:
16511651
name: smooth_sheets
1652-
sha256: b3f7aceb1c026d06d51b7182f6d89828639788e5fcefe88447349e1c01255afe
1652+
sha256: "1e7a96eaad7c5a7e719fe7b1cb29e16cd861118dcc6cda36b9439d19587c8666"
16531653
url: "https://pub.dev"
16541654
source: hosted
1655-
version: "0.15.0"
1655+
version: "0.16.0"
16561656
source_gen:
16571657
dependency: transitive
16581658
description:
@@ -1892,10 +1892,10 @@ packages:
18921892
dependency: transitive
18931893
description:
18941894
name: test_api
1895-
sha256: "19a78f63e83d3a61f00826d09bc2f60e191bf3504183c001262be6ac75589fb8"
1895+
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
18961896
url: "https://pub.dev"
18971897
source: hosted
1898-
version: "0.7.8"
1898+
version: "0.7.9"
18991899
timezone:
19001900
dependency: transitive
19011901
description:
@@ -1956,10 +1956,10 @@ packages:
19561956
dependency: transitive
19571957
description:
19581958
name: url_launcher_ios
1959-
sha256: b1aca26728b7cc7a3af971bb6f601554a8ae9df2e0a006de8450ba06a17ad36a
1959+
sha256: "580fe5dfb51671ae38191d316e027f6b76272b026370708c2d898799750a02b0"
19601960
url: "https://pub.dev"
19611961
source: hosted
1962-
version: "6.4.0"
1962+
version: "6.4.1"
19631963
url_launcher_linux:
19641964
dependency: transitive
19651965
description:
@@ -2138,4 +2138,4 @@ packages:
21382138
version: "3.1.3"
21392139
sdks:
21402140
dart: ">=3.11.0 <4.0.0"
2141-
flutter: ">=3.41.0 <4.0.0"
2141+
flutter: ">=3.41.1 <4.0.0"

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish_to: "none"
88
version: 1.14.0+54
99

1010
environment:
11-
flutter: ">=3.41.0 <4.0.0"
11+
flutter: ">=3.41.1 <4.0.0"
1212
sdk: ">=3.11.0 <4.0.0"
1313

1414
dependencies:
@@ -43,7 +43,7 @@ dependencies:
4343
flutter_bbcode_editor:
4444
path: ./packages/flutter_bbcode_editor
4545
flutter_bloc: ^9.1.1
46-
flutter_local_notifications: ^19.5.0
46+
flutter_local_notifications: ^20.1.0
4747
flutter_localizations:
4848
sdk: flutter
4949
flutter_markdown: ^0.7.7+1
@@ -62,7 +62,7 @@ dependencies:
6262
m3e_design: ^0.2.1
6363
material_design_icons_flutter: ^7.0.7296
6464
material_symbols_icons: ^4.2892.0
65-
native_flutter_proxy: ^0.2.3
65+
native_flutter_proxy: ^0.3.1
6666
path: any
6767
path_provider: ^2.1.5
6868
permission_handler: ^12.0.1
@@ -73,7 +73,7 @@ dependencies:
7373
shimmer: ^3.0.0
7474
slang: ^4.12.1
7575
slang_flutter: ^4.12.1
76-
smooth_sheets: ^0.15.0
76+
smooth_sheets: ^0.16.0
7777
# For drift
7878
sqlite3: ^2.9.4
7979
# For drift

0 commit comments

Comments
 (0)