Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-21 11:48:42 +08:00
parent 1efd62803a
commit ac60ac417b
130 changed files with 1631 additions and 2132 deletions

View File

@@ -97,9 +97,7 @@ class _FollowPageState extends State<FollowPage> {
int? count = item.count;
if (_isCustomTag(item.tagid)) {
return GestureDetector(
onLongPress: () {
_onHandleTag(index, item);
},
onLongPress: () => _onHandleTag(index, item),
child: Tab(
child: Row(
children: [
@@ -200,9 +198,7 @@ class _FollowPageState extends State<FollowPage> {
context: context,
title: '删除分组',
content: '删除后,该分组下的用户依旧保留?',
onConfirm: () {
_followController.onDelTag(item.tagid);
},
onConfirm: () => _followController.onDelTag(item.tagid),
);
},
dense: true,
@@ -232,9 +228,7 @@ class _FollowPageState extends State<FollowPage> {
],
decoration: const InputDecoration(border: OutlineInputBorder()),
),
onConfirm: () {
_followController.onCreateTag(tagName);
},
onConfirm: () => _followController.onCreateTag(tagName),
);
}
}