Skip to content

Commit e226fec

Browse files
authored
fix: Update dependencies and add a cancel button to the color selection dialog (#1025)
Update the fl_lib dependency to version v1.0.362 Add a cancel button in the color selection dialog to enhance user experience
1 parent 7d47c9d commit e226fec

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

lib/view/page/setting/entries/app.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ extension _App on _AppSettingsPageState {
134134
return Column(mainAxisSize: MainAxisSize.min, children: children);
135135
},
136136
),
137-
actions: Btn.ok(onTap: () => _onSaveColor(ctrl.text)).toList,
137+
actions: [
138+
Btn.cancel(onTap: () => context.pop(false)),
139+
Btn.ok(onTap: () => _onSaveColor(ctrl.text)),
140+
],
138141
);
139142
});
140143
},

pubspec.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ packages:
497497
dependency: "direct main"
498498
description:
499499
path: "."
500-
ref: "v1.0.361"
501-
resolved-ref: "9905808dc033e0e626c792a895f80fb755d2eb03"
502-
url: "https://github.com/lppcg/fl_lib"
500+
ref: "v1.0.362"
501+
resolved-ref: "3c75cfe1f07ee664a912d330e2a38bda51bee8d9"
502+
url: "https://github.com/lollipopkit/fl_lib"
503503
source: git
504504
version: "0.0.1"
505505
flutter:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ dependencies:
6565
ref: v1.0.23
6666
fl_lib:
6767
git:
68-
url: https://github.com/lppcg/fl_lib
69-
ref: v1.0.361
68+
url: https://github.com/lollipopkit/fl_lib
69+
ref: v1.0.362
7070

7171
dependency_overrides:
7272
# webdav_client_plus:

0 commit comments

Comments
 (0)