mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: item
chore: clean up widgets Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -121,22 +121,3 @@ class _FollowPageState extends State<FollowPage> {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// class _FakeAPI {
|
||||
// static const List<String> _kOptions = <String>[
|
||||
// 'aardvark',
|
||||
// 'bobcat',
|
||||
// 'chameleon',
|
||||
// ];
|
||||
// // Searches the options, but injects a fake "network" delay.
|
||||
// static Future<Iterable<String>> search(String query) async {
|
||||
// await Future<void>.delayed(
|
||||
// const Duration(seconds: 1)); // Fake 1 second delay.
|
||||
// if (query == '') {
|
||||
// return const Iterable<String>.empty();
|
||||
// }
|
||||
// return _kOptions.where((String option) {
|
||||
// return option.contains(query.toLowerCase());
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
|
||||
@@ -82,7 +82,6 @@ class FollowItem extends StatelessWidget {
|
||||
mid: item.mid,
|
||||
isFollow: item.attribute != -1,
|
||||
callback: callback,
|
||||
// followStatus: {'special': item.special, 'tag': item.tag},
|
||||
);
|
||||
},
|
||||
style: FilledButton.styleFrom(
|
||||
|
||||
Reference in New Issue
Block a user