mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 18:46:53 +08:00
@@ -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),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user