mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-01 15:49:49 +08:00
mod: err string
fix: typo Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -8,9 +8,9 @@ import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class ContactPage extends StatefulWidget {
|
||||
const ContactPage({super.key, this.isFromSelct = true});
|
||||
const ContactPage({super.key, this.isFromSelect = true});
|
||||
|
||||
final bool isFromSelct;
|
||||
final bool isFromSelect;
|
||||
|
||||
@override
|
||||
State<ContactPage> createState() => _ContactPageState();
|
||||
@@ -49,7 +49,7 @@ class _ContactPageState extends State<ContactPage>
|
||||
UserModel? userModel = await Get.dialog(
|
||||
FollowSearchPage(
|
||||
mid: mid,
|
||||
isFromSelct: widget.isFromSelct,
|
||||
isFromSelect: widget.isFromSelect,
|
||||
),
|
||||
useSafeArea: false,
|
||||
transitionDuration: const Duration(milliseconds: 120),
|
||||
@@ -68,11 +68,11 @@ class _ContactPageState extends State<ContactPage>
|
||||
children: [
|
||||
FollowChildPage(
|
||||
mid: mid,
|
||||
onSelect: widget.isFromSelct ? onSelect : null,
|
||||
onSelect: widget.isFromSelect ? onSelect : null,
|
||||
),
|
||||
FansPage(
|
||||
mid: mid,
|
||||
onSelect: widget.isFromSelct ? onSelect : null,
|
||||
onSelect: widget.isFromSelect ? onSelect : null,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -10,11 +10,11 @@ class FollowSearchPage extends CommonSearchPage {
|
||||
const FollowSearchPage({
|
||||
super.key,
|
||||
this.mid,
|
||||
this.isFromSelct,
|
||||
this.isFromSelect,
|
||||
});
|
||||
|
||||
final int? mid;
|
||||
final bool? isFromSelct;
|
||||
final bool? isFromSelect;
|
||||
|
||||
@override
|
||||
State<FollowSearchPage> createState() => _FollowSearchPageState();
|
||||
@@ -42,7 +42,7 @@ class _FollowSearchPageState extends CommonSearchPageState<FollowSearchPage,
|
||||
}
|
||||
return FollowItem(
|
||||
item: list[index],
|
||||
onSelect: widget.mid != null && widget.isFromSelct != false
|
||||
onSelect: widget.mid != null && widget.isFromSelect != false
|
||||
? (userModel) {
|
||||
Get.back(result: userModel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user