feat: custom schedule duration

opt: bottom sheet

Closes #44

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-23 11:12:47 +08:00
parent 9e8d34e0dc
commit a9e4f2081d
3 changed files with 319 additions and 204 deletions

View File

@@ -221,8 +221,8 @@ class _RecommendSettingState extends State<RecommendSetting> {
...defDurations,
if (defDurations.contains(minDurationForRcmd).not)
minDurationForRcmd,
-1
]..sort(),
-1,
].map((e) {
if (e == -1) {
return {'title': '自定义', 'value': e};