mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: select group sheet
This commit is contained in:
@@ -82,7 +82,7 @@ class FollowItem extends StatelessWidget {
|
||||
mid: item.mid,
|
||||
isFollow: item.attribute != -1,
|
||||
callback: callback,
|
||||
followStatus: {'special': item.special, 'tag': item.tag},
|
||||
// followStatus: {'special': item.special, 'tag': item.tag},
|
||||
);
|
||||
},
|
||||
style: FilledButton.styleFrom(
|
||||
|
||||
@@ -64,7 +64,7 @@ class _GroupPanelState extends State<GroupPanel> {
|
||||
final res = await MemberHttp.addUsers(widget.mid, tagids);
|
||||
SmartDialog.showToast(res['msg']);
|
||||
if (res['status']) {
|
||||
Get.back(result: tagidList?.contains(-10) == true);
|
||||
Get.back(result: tagidList);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -954,7 +954,7 @@ class Utils {
|
||||
dense: true,
|
||||
onTap: () async {
|
||||
Get.back();
|
||||
var result = await showModalBottomSheet<bool>(
|
||||
var result = await showModalBottomSheet<List?>(
|
||||
context: context,
|
||||
useSafeArea: true,
|
||||
isScrollControlled: true,
|
||||
@@ -979,6 +979,7 @@ class Utils {
|
||||
);
|
||||
},
|
||||
);
|
||||
followStatus!['tag'] = result;
|
||||
if (result != null) {
|
||||
callback?.call(2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user