Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-30 14:50:54 +08:00
parent 80fa0240e9
commit 8d94c0405f
115 changed files with 3150 additions and 1438 deletions

View File

@@ -11,11 +11,11 @@ class FollowSearchPage extends CommonSearchPage {
const FollowSearchPage({
super.key,
this.mid,
this.isFromSelect,
this.isFromSelect = false,
});
final int? mid;
final bool? isFromSelect;
final bool isFromSelect;
@override
State<FollowSearchPage> createState() => _FollowSearchPageState();
@@ -40,7 +40,7 @@ class _FollowSearchPageState
}
return FollowItem(
item: list[index],
onSelect: widget.mid != null && widget.isFromSelect != false
onSelect: widget.mid != null && widget.isFromSelect
? (userModel) => Get.back(result: userModel)
: null,
);